audit:read permission, which only the Admin role has among the built-in roles. Without it, the entry isn’t shown, and a direct link opens “Audit Log unavailable”. See Team & roles.

What Gets Recorded
Each event has a type namedarea.action, such as policy.approval_granted or project_report.generated. The log records, for example:
- scans submitted, and their gates evaluated
- findings resolved, reopened, suppressed, and assigned
- policies created, changed, attached, enabled, and disabled
- Policy Approvals requested, granted, rejected, and revoked
- members added and removed, and roles changed
- API keys created and revoked
- SBOM snapshots and project reports generated
- the regulations marked as applicable to the organisation changed
- projects created, archived, restored, and reset, and their scan configuration changed
- integrations connected, disconnected, or changing health, and a connection’s token or CA certificate replaced. The entry names each trusted certificate by its subject and expiry, and never includes the certificate or the token.
- password sign-ins, failed sign-ins, and sign-outs
- set-password and password-reset links created and used, and passwords changed. The entry never includes the link or the password.
- SSO configuration changes and test runs
- tools that coding agents call over Earnie MCP
Finding an Event
The log lists events newest first, grouped by day in your browser’s time zone. Select Load older events at the bottom to see more.- Identical events fold into one row. Events of the same type, by the same actor, on the same target and project, on the same day, show as one row with a count such as ×12. Select the row to see each occurrence in its detail panel.
- Bulk operations show as one row. For example, “255 findings resolved in bulk”. Select Show n entries to list the individual entries.
- Failures are marked. A failed sign-in, a failed Self-check, or a degraded publication has a Failed badge.
Each active filter appears as a chip under the filter bar. Clear one chip on its own, or select Clear all. The filters are kept in the page’s address, so reloading keeps them and a link you share opens with them applied. Refresh reloads the list with the same filters.
Exporting the Log
To keep a copy, select Export in the page header. The button says what it will write, such as Export 1,284 events (filtered). The count is the number of events that match the filters on the page, and (filtered) appears whenever a search, time range, or filter narrows the log. The file holds exactly those events. The export is a CSV file with one row per event, ending each line with a carriage return and a line feed. Unlike the page, it doesn’t fold identical events, so every event is its own row. The columns are:
A cell that begins with
=, +, -, or @ is saved with a leading apostrophe, so a spreadsheet shows it as text instead of running it as a formula. There is no row limit, and Earnie sends the file as it reads the log, so a large log is not held in memory first.
Each export is itself recorded in the log as Audit log exported, with the filters it ran with and how many events it held. Exporting needs the same audit:read permission as reading the log.
Reading an Event
Select a row to open the event’s detail panel:- Time, in your time zone, and the same time in UTC
- Actor, the person, API key, or worker that took the action
- Target, the thing the action was taken on
- Project
- Event ID
- Batch, for an entry that’s part of a bulk operation
- Occurrences, for a folded row: each time the event happened, most recent first. If their data differs, the panel says so, and the payload shown is the most recent one’s.
- Payload, the full recorded data, which you can copy with Copy JSON
What Makes It Evidence
Two properties make the audit log usable as evidence:- Earnie never edits or deletes an entry. There’s no way to change or remove one, in the web app or the API, and no retention period. Each entry stays as Earnie recorded it.
- Earnie names automation as the actor. When an API key, an integration, a coding agent, or a background worker takes an action, the entry credits it, not a person. An API key’s entry carries the key’s name at the time.
Two Levels of History
For a single item, a narrower view is usually faster than the audit log. These views read the same records, and anyone who can see the item can open them, without theaudit:read permission:
Streaming the Log to a SIEM
A SIEM can receive every audit event as it is written, without polling. Earnie sends the events to one of your webhook channels, signed with that channel’s secret. Before you start: You need the Admin role, and an enabled webhook channel that receives A service of your own (the signed JSON format) and has a signing secret. A chat-platform webhook, Slack, Teams, and email channels can’t carry the stream.- Open Settings, then Notifications. The Audit log stream section is below Channels.
- Pick the webhook channel and select Start streaming.
What the Receiver Gets
Each request is aPOST with a JSON body of up to 100 events, oldest first:
{"truncated": true, "original_bytes": <size>}; the full event is still in the log.
Every request carries the channel’s X-Earnie-Signature header and, when the channel has one, its authentication header. Verify the signature as described for webhooks.
Delivery
- In order, at least once. Earnie sends a batch and moves on only when the receiver answers
2xx. If it doesn’t, Earnie sends the same events again. Use each event’sidto ignore one you already stored. - Retries. After a failed attempt Earnie waits 5 seconds, doubling the wait after each further failure up to 5 minutes. A receiver that never accepts holds the stream: Earnie doesn’t skip events.
- Delays. Events normally arrive within a few seconds. A long-running change elsewhere in Earnie’s database can delay the stream until it finishes; no event is lost.
- Failures. While deliveries fail, the section says why, such as a receiver that can’t be reached or that answered with a server error, how many attempts failed, and when Earnie tries again.
- Changes are recorded. Starting, changing, pausing, and removing the stream are recorded in the audit log as
audit.stream.updated, and that event is streamed too.
PUT /v1/audit/stream ({"channel_id": "…", "enabled": true}) and removes it with DELETE /v1/audit/stream. Changing it needs organization:write, which no API key can hold. GET /v1/audit/stream returns its state, including delivered_total, last_delivered_at, last_error, consecutive_failures, next_attempt_at, and lag_seconds, and needs audit:read from an organisation-wide key: a key restricted to some projects is refused.
Reading It Through the API
An API key with theaudit:read scope can read the same log:
The list takes the same filters as the page, such as
project_id, actor_kind, actor_id, event_type, q for search, from and to, and include_system. It pages by cursor: pass limit (up to 100) and the next_cursor from the previous response.
A key restricted to some projects sees only those projects’ events, not organisation-wide ones. To keep a copy elsewhere, call GET /v1/audit-log:export?format=csv with the same filters. It’s the same file as the page’s Export button, and the response names it in Content-Disposition. See Using the API.