XKOVA Docs

Audit Log

Every financial or governed mutation on XKOVA writes an audit row before it is considered done. The row records the authority that was exercised: who acted, the permission they used, the roles they held, and for a quorum action the approvers who attested. The trail is queryable for compliance and activity reporting.

What gets audited

Any mutation in the financial or governed domains is audited: payments, escrows and claims, treasury, fees, governance, policies, break glass, ramps, revenue, compliance, verification, tokenization, and real-world assets. The audit row is part of the action, not a side effect added later, so an action that completed left a record.

Audit coverage is enforced, not left to discipline. A governed mutation that did not record its authority would not pass the platform's own checks, so the trail does not have silent gaps.

What a row records

Each row captures the authority exercised and enough context to reconstruct what happened.

FieldMeaning
actionThe canonical event name, for example a payment created or a claim resolved.
actorWho acted, and the actor type: system, staff, account_holder, api_key, or operator.
permissionThe permission used to authorize the action.
rolesThe roles the actor held at the time.
approversFor a quorum gated action, the approval request and the approvers who attested.
outcomesuccess, failure, or denied.
occurred_atWhen the event happened.
correlation_idThe request correlation id, also present on errors and webhooks for tracing.
before and afterOptional snapshots of the changed resource's state before and after the mutation, when captured; many events carry neither.

Quorum approved actions and break glass actions carry extra context: the approval request and its approvers, and for break glass a high severity tag. See Policies and Quorum Governance.

Reading the trail

The tenant wide audit trail is queryable by staff. Filter by category, action, actor, target, and date range, sort by occurrence time, and page through with a cursor.

  • Tenant audit query. GET /v1/reports/audit returns a cursor paginated list of recorded actions for the tenant, with the filters above. The caller needs report-read permission, typically the admin or compliance officer role.
  • Per resource timeline. A resource's own lifecycle timeline reads from the same trail, for example an escrow's event timeline rendered oldest first.
  • Operator activity (console). In the hosted console, an operator can also see their own recent authentication events (sign in, sign out, MFA, scope switch) in the activity panel.
Reads are cursor paginated. Use the cursor to walk a long history rather than a page offset. See Pagination.

Why this matters

The audit trail is how a governed action proves which authority was used. Combined with the approval quorum and separation of duties, it lets you reconstruct not just that an action happened but that it was authorized correctly and by whom. It is the system of record for compliance and incident review.

Related

See Policies and Quorum Governance for the approvals an audit row references, Roles and Permissions for the permission and role catalog, and the interactive reference for the exact audit read operations and their response shapes.