Prove what every agent did
When an auditor or an incident review asks what an agent did and why it was allowed, you need a record made for that question. It must show each decision, the rules that produced it, and who the caller was, and it must still answer months later. The gateway keeps that record as an audit trail, separate from the logs your operations team uses to fix what broke.
What you can do
- Record every policy decision, allow or deny, in a durable audit entry so that you can show which policy, at which version, authorised or blocked each request.
- Tie each decision to the signed Verifiable Presentation the gateway issued for the same request, where it issued one, so that the caller’s identity rests on a signature.
- Follow one request through its policy decisions, trust checks, and injected credentials so that an incident review starts from the whole story.
- Choose which audit events the gateway keeps so that the trail holds the decisions your auditors ask about.
- Deliver the same audit events to your security information and event management (SIEM) system so that the trail also lives where your auditors already work.
How it works
The audit trail is the gateway’s record for accountability: it lets anyone check a decision after the fact. While Enable VP Auditing is on in Settings › Security, the gateway keeps the audit events selected under Events to keep and shows them on the Audit page. Each Policy Decisions entry records the outcome, the policy scope, the flow direction, the caller, and the denial reason where the rule gave one. It can also carry the Policy version and Policy SHA of the exact Rego that ran, shown as chips on the entry.
Editing a policy adds a new version rather than overwriting the old one, so a decision that carries a policy version always points to the rules that were actually enforced. Decision records themselves are unsigned. Where the gateway issued a signed Verifiable Presentation for the request, the event detail panel shows it alongside the decisions that share its trace ID. Entries that share a trace ID are grouped there, from the caller’s identity through policy decisions and trust checks to any credential the gateway injected.
The same audit events can also go to a SIEM, a webhook, or a stream through a Governance Audit integration, which has its own event selection.
Audit trail and logs
The gateway keeps two records, and each answers a different question:
- Audit trail, for accountability: what the gateway decided and on what grounds, for allowed and denied requests alike, kept as evidence that a decision can be checked against.
- Logs, for troubleshooting: what failed and why, such as a policy denial, a failed trust check, or a connection error, so your operations team can fix it.
Use the logs to diagnose a problem, and the audit trail as evidence. The Logs page’s Download All Logs button downloads the gateway’s log files only, and audit entries reach your own systems through a Governance Audit integration.
Related
- Audit log: Event categories, how records tie to signed presentations, and the event detail panel in full.
- Settings reference, Security tab: Turn on VP Auditing and choose the audit events to keep.
- Send audit events to an external system: Deliver audit events to a SIEM, webhook, stream, email, or Slack.
- Observability: The Logs page, metrics, and traces your operations team uses for troubleshooting.
Glad to hear it. Thanks for letting us know.
Sorry to hear that. Thanks for letting us know.
Still stuck? Ask the community on Discord or contact us.