Audit and evidence

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

CheckWhereWhat a pass means
Seal chainVerify seal chain on Audit → Ledger, POST /audit/verifyEvery 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 bytesVerify stored bytes on a segment, POST /audit/segments/{segmentId}/verifyThe locked object versions still match their checksums and recompute the sealed Merkle root
Inclusion proofDownload 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
TimestampLatest timestamp on Audit → Retention, GET /audit/statusAn 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: false in 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

TaskWhereAPI
Check the archive is runningAudit → RetentionGET /audit/status
Change retention or lock modeAudit → Retention, Edit policy: Retention, Lock mode, Pinned region, Reason for changePUT /audit/retention
Place or release a legal holdAudit → Retention, Legal holds, Create hold or ReleasePOST /audit/holds, DELETE /audit/holds/{holdId}
Verify the archiveAudit → Ledger, Verify seal chain, or open a segment and Verify stored bytesPOST /audit/verify, POST /audit/segments/{segmentId}/verify
Prove one eventAudit → Ledger, Event inclusion proof, Download proofGET /audit/proofs/{eventId}
Restore cold segmentsOpen a segment on Audit → Ledger, Request cold restorePOST /audit/segments/{segmentId}/restore, GET /audit/jobs/{jobId}
Build an evidence packAudit → Evidence packs, Packs tab, Build signed packPOST /audit/packs, POST /audit/packs/{id}/build
Share with an auditorAudit → Evidence packs, Auditor access tabPOST /audit/auditor-grants, GET /audit/access-log
Handle an erasure requestAudit → Requests, Fulfill verified requestPOST /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/reconcile cleans 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:

PlanLongest archive retention
Free30 days
Pro180 days
Team1 year
Scale, self-hosted7 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.

WhoCan
Any member, or an API key with audit:readRead the ledger, proofs, status, retention policy, holds, register, oversight and obligations
Admin or owner, or an API key with audit:manageChange 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:manageCreate and edit affected-person requests
Signed-in admin or owner onlyWorkflow 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 onlySwitch to the compliance lock, shorten governance retention, recover an abandoned archive job
Admin or owner, or an API key with audit:read and content:readRead restored archived content
Admin or owner, or an API key with content:eraseErase 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