Skip to main content

Audit reference

Entry fields

The audit log screen An audit entry as it is listed. The fields below are what each row carries.

FieldContains
Event typeWhat happened
ActorWho did it
Resource type and identifierWhat it happened to
Old value, new valueThe change, for mutations
TimestampWhen
Sequence numberPosition in the total order

A merge produces many entries at once; read them together by resource and timestamp.

Guarantees

GuaranteeEnforced byException
No updatesA database trigger rejects themNone
No deletesA database trigger rejects themThe retention purge, which disables the trigger for its own operation
Gap detectionA monotonic sequence numberA purge produces gaps legitimately
OrderingThe same sequenceNone

Immutability holds for every ordinary caller. The single exception is the retention purge, which is gated on its own permission and removes entries older than the retention window from both logs.

Two logs

LogRecords
AuditData changes — creates, updates, deletes, merges
Security auditSign-ins, permission grants, policy changes, masking changes, rejected outbound destinations

Separating them means a security review is not searching through routine record edits.

Masking

ElementMasked
Old and new valuesYes, where a rule applies
Actor identityNever
Event type, resource, timestampNever

Retention

A purge endpoint deletes entries older than a window you pass with the request, defaulting to one year, from both the audit log and the security audit log. It is gated on its own permission and is the only operation that can remove an entry.

The window is a parameter of each call, not a stored setting, and nothing invokes the purge for you — there is no scheduler. Entries are retained indefinitely until you run it, so schedule it externally if your obligations require data to be removed.

The purge additionally requires an owner-level database connection to be configured, because the immutability trigger blocks deletion otherwise. Without it the call fails rather than silently doing nothing.

Export anything you must retain for longer before purging. A purge cannot be undone from within the platform.

Size the window against your audit obligations rather than record volume — for a regulated deployment this is usually the longest-retained data you hold.

Audit versus history

AnswersShape
Audit logWho did what, whenAppend-only events
Temporal historyWhat a record looked like at a timeVersions of a record

Next


Last verified against commit 74cecd91 (2026-08-03)