User and operator guide · Operations

Read The Live Audit Log

Status: currentReviewed: 2026-07-10Audience: operators, security reviewers
On this pageUse This Page WhenBefore You BeginWhat You Will DoProcedureRead the live feedPause, inspect, resumeFilter, search, and exportVerifyTroubleshootingRelated Pages

Use the audit workbench to watch operator and security events the instant they happen, confirm that a specific mutation was recorded, and export a filtered slice as evidence.

Live audit log
Live audit logAtlas interfaceOpen full size ↗

Use This Page When

  • Watch operator and security activity as it happens, without reloading.

  • Confirm that a specific change — app publish or assign, authorization-policy edit, configuration write, directory group rule, approval, certificate rotation — was recorded.

  • Export a filtered window of the trail (actor, type, outcome, time) as CSV evidence.

Before You Begin

Requirement What to verify

Access

An operator session holding audit.read. The page is Evidence → AUDIT (/audit); minimum assurance is AAL1.

Runtime

The gateway is up and the authoritative audit log verifies. If integrity verification fails the workbench is fail-closed (see Troubleshooting).

Evidence boundary

Atlas proves what it recorded and that the record is unbroken. Retention, archival, and off-box forwarding are deployment-owned.

What You Will Do

  1. Open the audit workbench and read the live feed.

  2. Pause to inspect a burst, then resume to flush buffered rows.

  3. Filter and search to isolate a specific actor, type, or outcome.

  4. Export the filtered window as CSV.

Procedure

Read the live feed

  1. Open Evidence → AUDIT (/audit). The feed opens Live by default and streams over Server-Sent Events at GET /api/audit/events/stream.

  2. Observe the frames the stream delivers: a hello frame carrying the current cursor on connect, one audit frame per event (its SSE id line is the event’s sequence/cursor), a heartbeat keep-alive every 25 seconds, and a reset frame if the client cursor has aged out of the replay ring.

  3. Watch new rows highlight briefly as they arrive at the top of the table.

Note

The stream reconnects automatically with exponential backoff, carrying its last cursor as ?cursor= (or the Last-Event-ID header) so the gateway replays events missed during the gap. A stream that simply ends is normal — the server recycles long-lived connections.

Pause, inspect, resume

  1. Click the Live / Paused toggle to pause. Incoming events are buffered, not dropped.

  2. While paused, read the "N new events" pill — it counts buffered arrivals.

  3. Click Live to resume; the buffered rows flush into the table.

Filter, search, and export

  1. Narrow the trail with the actor, type, outcome, time, and free-text search filters. These are applied server-side by GET /api/audit/events.

  2. Select Export to download the current filtered window as CSV from GET /api/audit/events/export.

Verify

Check Passing result

Live arrival

Perform any operator mutation in another tab (publish an app, edit an authorization policy, stage a certificate). The event appears as a highlighted row within about a second — no reload.

Coverage

Operator mutations are recorded through recordOperatorAuditEvent across the runtime (26 source files), and Postgres audit_log (pgaudit) rows are merged into the same feed — the trail is not gateway-only.

Continuity

The hello frame reports a cursor and heartbeats arrive every 25s. Forcing a reconnect replays the missed rows rather than skipping them.

Integrity

The authoritative log is an ECDSA-P384-signed Merkle chain. A healthy log renders normally; a broken chain hard-blocks the workbench rather than serving unverified rows.

Troubleshooting

Symptom Likely cause Operator action

Feed stops updating; a "N new events" pill is showing.

The toggle is Paused; arrivals are buffering.

Click Live to resume and flush the buffer.

The whole workbench is blocked behind a 503 banner.

Authoritative audit integrity verification failed; the page is fail-closed so unverified rows never render.

Repair, archive, or reset the authoritative log. Identity and self-service panes continue with degraded audit evidence until it is restored.

Export is refused.

The same integrity failure blocks export — Atlas will not emit evidence it cannot vouch for.

Restore authoritative audit integrity, then re-export.

The stream delivered a reset frame.

The client cursor aged out of the replay ring (a long disconnect).

Expected — the page refetches the full log and resumes streaming from the current cursor.