Blog
What a good audit trail contains
An audit trail is useful only if it can answer the questions a reviewer will actually ask. A practical list of what to record.
Most systems log something. Fewer keep a trail from which a decision can be reconstructed. The difference shows when someone asks, months later, "why did we do that?"
The questions a trail must answer
- What did the system know? The records used, their sources and their state at the time.
- What logic was applied? The versions of matching rules, indicators, scorecards and models.
- What did it conclude? The score, the reasons and the threshold.
- Who looked at it? Every person who viewed, edited or approved.
- What did they add? Notes, attachments, overrides and stated reasons.
- What was decided, and when?
Record changes to the rules, too
A decision is the product of data and configuration. If a threshold moved last quarter, a reviewer needs to know who changed it, what testing supported the change and who approved it. Configuration history belongs in the same trail as case history.
Record reading, not only writing
For sensitive data, who looked is as important as who changed. Searches, profile views and exports should be logged with user, time and, where policy requires, a stated purpose.
Make it usable
A trail nobody can read is not much better than none.
- Searchable by entity, user, case and date.
- Readable in plain language, with technical detail available underneath.
- Exportable as a report for a reviewer who does not have system access.
- Tamper-evident, so that entries cannot be altered without trace.
Keep it for the right length of time
Retention should follow the decisions the trail supports. Keeping everything for ever creates its own privacy risk. Set a period per record type and delete on schedule, recording that the deletion happened.
A quick test
Choose a closed case at random. Hand the trail to a colleague who was not involved. If they can explain what happened and why without asking anyone, the trail is doing its job.
More in How to explain an automated decision.