API / deployment

A redaction audit trail that answers the next question

A practical guide to redaction audit trail: the boundary, the controls and the failure modes that matter before the first document.

Redaction audit trail: deployment and limits

A redaction audit trail that answers the next question. An audit trail is evidence only if it answers who, what, when, why and what changed. A log line that says a job completed is not an audit trail; it is a heartbeat.

What changes in this environment

Append-only events with a request id, an actor, a policy version, a document hash, the terminal state and the report hash. The trail lives outside the workload account so a compromised job cannot edit its own history. Export is part of the design, not a later feature.

Where the data hides

The visible page is only one layer. In this environment, check:

The redaction flow

  1. Assign an actor and a request id at intake.
  2. Record the policy version and the document hash.
  3. Record each state change with a timestamp and a reason.
  4. Record the review decision and the reviewer.
  5. Export the trail to the evidence store on a schedule.

Controls to verify

  • Append-only storage with restricted write access.
  • Time synchronization across every service.
  • A documented event schema and retention window.
  • Integrity checks on export, not a claim of immutability.
  • Access to the trail is itself logged.

Retention and evidence

The trail usually needs to outlive the document. Decide the window with counsel and the recipient, then test that old events are still readable after a version upgrade. A trail nobody can export is a trail nobody can use.

Limits

Logs are not tamper-proof by default. A privileged administrator can often change storage, so separation of duties matters more than a hash in a field. The trail records what the system saw; it does not prove the policy was correct.

The events that must be in it

Decide the event list before the first deployment, because retrofitting audit events is how gaps get built. The floor: file imported, policy applied, findings per category, removals per category, export approved, export performed, policy edited, permission changed, and every administrative action with the actor. Each event carries the file reference, the actor, the timestamp, and the before-value where a change is involved. The trail answers 'who knew what, when, and what did they do about it' — which is the entire question after an incident.

Getting the trail out

An audit trail locked inside the system it records is a diary at the scene of the fire. Ship the events to a log platform the redaction system's own administrators cannot alter — a SIEM, a central store, an append-only bucket. Hash-chaining or signing at the source makes tampering visible at the destination. Keep the trail's clock synchronised and its retention longer than the files it describes; the question 'what happened to that document' outlives the document itself by years.

What a review looks for

When someone reads the trail — auditor, incident responder, opposing counsel — they look for the same three things: completeness (every event class present, none missing for the window), integrity (no gaps in sequence, no altered timestamps), and context (each event's actor and reason resolvable). Design the event schema so those three properties are checkable mechanically: sequence numbers, monotonic clocks, and actor identifiers in every record. The properties are the audit; the storage is just where they live.

How Veilbrook fits

Veilbrook returns a removal report per document and can emit job events for your audit store. The report is the document-level evidence; the trail is the system-level record.

Before you release

Open the output in the same tool the recipient will use. Select each masked area and paste it into a text editor. Search for every value you removed, including the header, the attachment, the comment and the OCR layer. Compare the report with the file and keep both. If a value survives, the job is not done.

Common mistakes

What to ask before you build

Questions

Is the audit log tamper-proof?

Do not assume it. Ask for append-only storage, separation of duties and export to a separate account.

Does the report replace the audit log?

No. The report covers one document; the log covers the system and the actors.

What should we retain?

At minimum the actor, the policy, the document hash, the result and the review. Counsel sets the window.