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

NameTypeJSON nameDescription
Actionstring?actionAlias for method.
Actorstring?actorAlias for actorSubject.
ActorSubjectstring?actorSubjectDelegated agent actor subject ("act.sub") when an AI agent acted on behalf of a human sponsor (ADR-0901).
Categorystring?categoryEvent category: ADMIN_ACTIVITY, ADMIN_DENIED, AGENT_ACTION, DATA_ACCESS, SYSTEM_EVENT, or SECURITY_EVENT.
ClientIdstring?clientIdOAuth client ID associated with the request, if any.
Detailstring?detailAlias for operationName, denial problem code, or event detail.
EventTimeDateTimeOffset?eventTimeTimestamp when the audited event was committed.
Hashstring?hashLowercase hex SHA-256 hash of (prev_hash || canonical record fields).
Methodstring?methodAudited method or permission identifier, for example "network.networks.create".
Namestring?nameResource name: projects/{project}/locations/{location}/auditEvents/{seq}.
OperationNamestring?operationNameLong-running operation resource name associated with the event, if any.
PlanIdstring?planIdPlan ID when the mutation was executed through an approved Plan (ADR-0906).
PrevHashstring?prevHashLowercase hex SHA-256 hash of the preceding record in the tenant's audit chain (32 zero bytes for the first record).
Principalstring?principalSubject principal (for example "users/{uid}" or "serviceAccounts/{uid}").
ResourceNamestring?resourceNameTarget resource name or request path.
Seqlong?seqMonotonically increasing sequence number within the cell.
SessionIdstring?sessionIdSession ID ("sid") associated with the credential.
Uidstring?uidImmutable UUIDv7 identifier of the audit event.