SDK reference / Models / Audit
AuditEvent
Kind: class
Namespace: Egulu.Sdk.Models.Audit
One tamper-evident customer audit record in a cell's hash chain (ADR-0108).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Action | string? | action | Alias for method. |
Actor | string? | actor | Alias for actorSubject. |
ActorSubject | string? | actorSubject | Delegated agent actor subject ("act.sub") when an AI agent acted on behalf of a human sponsor (ADR-0901). |
Category | string? | category | Event category: ADMIN_ACTIVITY, ADMIN_DENIED, AGENT_ACTION, DATA_ACCESS, SYSTEM_EVENT, or SECURITY_EVENT. |
ClientId | string? | clientId | OAuth client ID associated with the request, if any. |
Detail | string? | detail | Alias for operationName, denial problem code, or event detail. |
EventTime | DateTimeOffset? | eventTime | Timestamp when the audited event was committed. |
Hash | string? | hash | Lowercase hex SHA-256 hash of (prev_hash || canonical record fields). |
Method | string? | method | Audited method or permission identifier, for example "network.networks.create". |
Name | string? | name | Resource name: projects/{project}/locations/{location}/auditEvents/{seq}. |
OperationName | string? | operationName | Long-running operation resource name associated with the event, if any. |
PlanId | string? | planId | Plan ID when the mutation was executed through an approved Plan (ADR-0906). |
PrevHash | string? | prevHash | Lowercase hex SHA-256 hash of the preceding record in the tenant's audit chain (32 zero bytes for the first record). |
Principal | string? | principal | Subject principal (for example "users/{uid}" or "serviceAccounts/{uid}"). |
ResourceName | string? | resourceName | Target resource name or request path. |
Seq | long? | seq | Monotonically increasing sequence number within the cell. |
SessionId | string? | sessionId | Session ID ("sid") associated with the credential. |
Uid | string? | uid | Immutable UUIDv7 identifier of the audit event. |