Retention and legal holds
Set how long the audit log is kept, place or release a legal hold, and verify the integrity of the chain.
In brief
The retention policy sets how many months audit events stay in the database; a legal hold suspends purging over the scope of a dispute; the auditor report proves the chain has not been tampered with. All three surfaces belong to the instance operator, in the Enterprise edition.
Access: Administrator. These operations belong to the platform operator: a superadmin account on an instance whose Enterprise license grants the audit log. They go through the API — there is no dedicated screen. Every call is itself logged.
How long events are kept
Audit events are stored in monthly partitions. A periodic purge drops the partitions older than the retention policy — 12 months by default, 1 month at minimum. The cryptographic proofs (ledgers, receipts, segments, chain heads, and anchors) are never purged: they remain the trace of the epochs whose detailed events have expired.
The Audit log screen announces the window reviewable from the interface; database retention is governed by the policy below.
Set the retention
Read the policy, then update it. retention_months accepts any integer from 1
up; last_purged_at dates the last purge run.
curl -fsS https://<api-brume>/api/ee/admin/audit-retention
curl -fsS -X PUT https://<api-brume>/api/ee/admin/audit-retention \
-H "Content-Type: application/json" \
-d '{"retention_months": 24}'Every change writes an audit.retention.changed event and notifies the
operators by email. The purge itself logs audit.retention.purged (with the
partitions dropped and those spared) or audit.retention.failed.
Place a legal hold
A legal hold suspends purging over a scope: partitions containing events covered by an active hold are spared, whatever the retention policy says. Place one as soon as a dispute or investigation requires preserving evidence.
A hold requires a reason and at least one criterion: a period (hold_from,
hold_until, ISO 8601 timestamps with a timezone) or an actor
(actor_pseudonym, the hexadecimal HMAC pseudonym of an account, as it appears
in events).
curl -fsS -X POST https://<api-brume>/api/ee/admin/audit-holds \
-H "Content-Type: application/json" \
-d '{
"reason": "HR dispute — case 2026-014",
"hold_from": "2026-01-01T00:00:00Z",
"hold_until": "2026-06-30T23:59:59Z"
}'Placing a hold writes audit.hold.created. A hold cannot be edited or
deleted: the database only allows its release, once, which keeps the
history of holds intact.
Release a legal hold
List the holds to find the identifier (an active hold has released_at set to
null), then release it:
curl -fsS https://<api-brume>/api/ee/admin/audit-holds
curl -fsS -X POST https://<api-brume>/api/ee/admin/audit-holds/<hold-id>/releaseThe release writes audit.hold.released. The partitions the hold was sparing
become purgeable again on the next purge run.
Verify the integrity of the chain
Every event is hash-chained to its predecessor, per tenant and per monthly
epoch. An anchoring worker periodically computes the Merkle root of each
segment, timestamps it with an RFC 3161 authority, and can deposit a copy on
object storage; a verification worker then recomputes segments and writes
audit.verify.failed on the slightest discrepancy. Watch this action — and
audit.anchor.failed — in your SIEM.
For consolidated proof, download the auditor report: it verifies the chain over the requested period (24 months at most), attaches the anchors and verification runs, retraces the governance events (retention, purges, holds), and provides the counter-verification commands to replay yourself.
curl -fsSO -J "https://<api-brume>/api/ee/admin/audit-report?from=2026-01-01T00:00:00Z&to=2026-06-30T23:59:59Z&format=pdf"format is json or pdf. Every generation writes audit.report.generated.
To review and export the events themselves, follow Review the audit log.