Agent Gateway

Prove what every agent did

Answer an auditor’s or incident reviewer’s question about what an agent did, and why it was allowed, from an audit trail of versioned policy decisions and signed identity evidence.

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

An agent request passes through Agent Gateway, the focus of the diagram, where policy decides it. With VP Auditing on and policy decisions kept, each decision, allow or deny, becomes an entry in the audit trail, the path of the diagram, with the policy version behind it, which makes the decision checkable after the fact. Separately, the gateway log records failures and why they happened, for troubleshooting. An agent request passes through Agent Gateway, the focus of the diagram, where policy decides it. With VP Auditing on and policy decisions kept, each decision, allow or deny, becomes an entry in the audit trail, the path of the diagram, with the policy version behind it, which makes the decision checkable after the fact. Separately, the gateway log records failures and why they happened, for troubleshooting.

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.