Audit and evidence
How axonpush seals your organisation's events into a tamper-evident archive, and how you keep, verify, erase and share that evidence.
axonpush keeps a sealed copy of the events your organisation sends: SDK events, OpenTelemetry spans, logs, errors and the evidence events your agents report. You can prove later that a record existed, that it has not been changed, and when it was sealed. Around that archive sit the records an auditor asks about: which agents you run and who owns them, the human decisions that oversaw them, notices shown to people, requests from people, and incidents.
This page is for two readers: the engineering lead who sets retention and wires the evidence events, and the person who answers auditors and enterprise security reviews.
Evidence, not a compliance verdict
axonpush records and protects evidence. It does not decide whether your organisation meets a law or a standard, it gives no certification, and nothing in these docs is legal advice. The Obligations page shows which evidence exists for a clause, for example evidence for EU AI Act Article 12 record-keeping, and which gaps remain actions on your side. Confirm what applies to you with your own counsel.
What gets recorded
Every organisation gets the archive automatically, with a governance lock and the longest retention its plan allows, as long as the deployment has archive storage configured. You don’t have to turn it on. axonpush closes each ingest hour and writes the events from it as an encrypted Parquet segment:
- Merkle root. Each segment carries an RFC 6962 Merkle root over its events, so a single event can be proven with an inclusion proof. The proof checks membership without decrypting anything.
- Seal chain. Each segment’s manifest includes the previous seal hash. Removing, reordering or editing an hour breaks the chain.
- Object Lock storage. Segments are uploaded to an S3 bucket with versioning and Object Lock enabled, pinned to an exact object version and locked until the end of your retention period. The archive writer cannot delete objects or bypass the lock.
- Daily timestamps. When the deployment has an RFC 3161 timestamp authority configured, the latest seal hash is timestamped once a day, so the time a seal existed does not rest on axonpush’s word alone. Audit → Retention shows the latest timestamp.
- Per-subject encryption. Event content is encrypted with keys held outside the archive, one per data subject. Destroying a subject’s key makes their content unreadable while the sealed hashes still verify.
Segments are grouped by ingest time, not event time. An event that arrives late is sealed in the next open hour, and a sealed hour is never reopened.
These are not sealed: Sentry metrics, Sentry attachments, release health and cron check-ins. They are operational telemetry kept in their own stores with normal expiry. The organisation audit log, which records who changed your configuration, is a separate hash chain with its own verify endpoint.
What verify proves, and what it does not
| Check | Where | What a pass means |
|---|---|---|
| Seal chain | Verify seal chain on Audit → Ledger, POST /audit/verify | Every retained segment links to the one before it, its manifest matches the recorded seal, and each stored timestamp token is valid for the seal it covers |
| Stored bytes | Verify stored bytes on a segment, POST /audit/segments/{segmentId}/verify | The locked object versions still match their checksums and recompute the sealed Merkle root |
| Inclusion proof | Download proof, GET /audit/proofs/{eventId} | One event is part of a sealed segment. Verify an inclusion proof in your browser checks it against a seal hash you trust, without a decryption key |
| Timestamp | Latest timestamp on Audit → Retention, GET /audit/status | An independent authority saw that seal hash no later than the stated time |
A pass does not prove:
- That the record is true. The archive proves what axonpush accepted, not that
your application reported it accurately. Decisions and actors your application
reports are your own assertions: they are marked
actorVerified: falsein evidence packs and shown as customer-reported. - That nothing was missed. Events your application never sent, or that were rejected at ingest, are not in the chain.
- Independence, without a timestamp authority. Sealing never waits for a timestamp. If the deployment has no timestamp authority configured, the chain still verifies from its seals, but it has no independent anchor.
- Anything older than retention. When segments expire, verification continues from the recorded chain base. Expired history is gone, not hidden.
- Readable content after erasure. An erased subject’s events still prove membership, but their content can no longer be decrypted.
- That you meet a regulation. See the callout above.
Main tasks
| Task | Where | API |
|---|---|---|
| Check the archive is running | Audit → Retention | GET /audit/status |
| Change retention or lock mode | Audit → Retention, Edit policy: Retention, Lock mode, Pinned region, Reason for change | PUT /audit/retention |
| Place or release a legal hold | Audit → Retention, Legal holds, Create hold or Release | POST /audit/holds, DELETE /audit/holds/{holdId} |
| Verify the archive | Audit → Ledger, Verify seal chain, or open a segment and Verify stored bytes | POST /audit/verify, POST /audit/segments/{segmentId}/verify |
| Prove one event | Audit → Ledger, Event inclusion proof, Download proof | GET /audit/proofs/{eventId} |
| Restore cold segments | Open a segment on Audit → Ledger, Request cold restore | POST /audit/segments/{segmentId}/restore, GET /audit/jobs/{jobId} |
| Build an evidence pack | Audit → Evidence packs, Packs tab, Build signed pack | POST /audit/packs, POST /audit/packs/{id}/build |
| Share with an auditor | Audit → Evidence packs, Auditor access tab | POST /audit/auditor-grants, GET /audit/access-log |
| Handle an erasure request | Audit → Requests, Fulfill verified request | POST /audit/requests/{id}/fulfill, or DELETE /telemetry/subjects/{subjectType}/{subjectId} |
A few things to know before you start:
- The archive needs storage and a key authority. A deployment without them shows “Archive storage is not configured” on Audit → Retention until they are set up; see evidence archive setup. The pinned region must match those stores and cannot be changed later. Sealing starts from the oldest event still in the hot store.
- Retention is 30 days, 180 days, 1 year or 7 years, up to your plan’s limit. Governance lock can be shortened later only through a separate owner request that records a sealed, timestamped reason. Compliance lock is irreversible: once set, it cannot be shortened, disabled or switched back, and it requires a configured timestamp authority.
- Legal holds cover an agent, a time range or the whole organisation, and block expiry of what they cover. While any hold is active, subject erasure and governance shortening are refused. Releasing a hold records a reason and leaves the original object locks in place.
- Erasure destroys the subject’s keys, removes their hot rows and records a
tombstone so delayed ingestion cannot bring them back. Sealed hashes keep
verifying. Restored copies cannot revive an erased key, and
POST /audit/reconcilecleans restored hot copies against permanent erasures.
Plans and permissions
Archive sealing and the governance lock work on every plan. The longest retention you can choose depends on the plan:
| Plan | Longest archive retention |
|---|---|
| Free | 30 days |
| Pro | 180 days |
| Team | 1 year |
| Scale, self-hosted | 7 years |
These need Team or above: the compliance lock, placing a legal hold, building evidence packs, creating auditor links and publishing the trust page. After a downgrade you can still release holds, download packs you already built, and revoke auditor links, and an existing compliance lock stays in force.
| Who | Can |
|---|---|
Any member, or an API key with audit:read | Read the ledger, proofs, status, retention policy, holds, register, oversight and obligations |
Admin or owner, or an API key with audit:manage | Change retention, create and release holds, restore segments, create and edit audit records, packs, auditor links and the trust page |
Admin or owner, or an API key with requests:manage | Create and edit affected-person requests |
| Signed-in admin or owner only | Workflow actions: suspend or resume an agent, approve an assessment, record a filed incident report, send, extend or fulfil a request, build a pack. API keys are refused |
| Signed-in owner only | Switch to the compliance lock, shorten governance retention, recover an abandoned archive job |
Admin or owner, or an API key with audit:read and content:read | Read restored archived content |
Admin or owner, or an API key with content:erase | Erase a subject through DELETE /telemetry/subjects/{subjectType}/{subjectId} |
The decision trail (GET /audit-trail) uses observe:read. The organisation
audit log (GET /audit-logs) is readable only by an admin or owner signed in to
the dashboard; API keys are refused. Most audit operations are also available to
connected agents over MCP. Request and response schemas are in the
API reference.
In this section
Evidence ledger
Sealed segments, the seal chain, timestamps, inclusion proofs and verification.
Retention and legal holds
Turn on the archive, choose retention and lock mode, place and release holds.
Restore and archive jobs
Restore cold segments, follow job progress, retry and recover jobs.
Erasure
Erase a data subject with per-subject keys while the archive still verifies.
Recording evidence
Report tasks, human decisions, denials and notices from your agents.
Agent register
Agents, owners, risk tiers, tool grants, providers and suspension.
Oversight
Human decisions, oversight rates, people and training.
Obligations
Evidence coverage against a versioned catalogue of frameworks, and assessments.
Notices, requests and incidents
Notices shown to people, affected-person requests and incident reporting clocks.
Evidence packs
Signed PDF and JSON packs, offline verification and delivery destinations.
Auditor access and trust page
Expiring auditor links, NDA, the access log and the public trust page.
Decision trail
Query and export recorded decisions across agents.
Organisation audit log
The hash-chained log of who changed your organisation's configuration.