Sub topic 11
Documentation and audit trail
This chapter assumes you know how alerts are produced and triaged, as covered in the earlier chapters on name matching, thresholds, secondary identifiers, and alert review. It explains what a firm must record about its screening decisions, and how to make those records useful to an examiner, an auditor, or a colleague who inherits an alert months later.
Why the record matters
A screening decision that is not recorded cannot be defended. Regulators and auditors usually ask three questions about any alert: what did the system see, what did the analyst decide, and why. If the file cannot answer them, the firm cannot show that it applied its own policy. This is true even when the decision was correct.
Records also serve the firm. They let you spot analysts who close alerts inconsistently. They let you measure how many alerts a given threshold produces. They also let you reopen an old decision when a list entry is updated.
What to record
Each alert needs enough detail to be reconstructed without asking the original analyst.
| Item | Example | Purpose |
|---|---|---|
| Alert identifier and timestamp | `A-20261127-0042`, UTC time | Ties the decision to a point in time |
| Screened data as submitted | Customer name, date of birth, country | Shows what the system actually compared |
| List name and version | Consolidated list, version date | Shows which entry was matched against |
| Match score and settings | 0.92 at threshold 0.85 | Shows why the alert fired |
| Evidence reviewed | Passport copy, registry extract | Shows what the decision rests on |
| Disposition and rationale | Closed as false positive, date of birth differs | Records the decision and reasoning |
| Reviewer and approver | Analyst ID, second reviewer ID | Shows accountability and four-eyes review |
Record the list version, not only the list name. An entry that matched last week may have been amended or removed since, and you need to know which text was in force when you decided.
Writing a useful rationale
A rationale should name the specific facts that separated the customer from the listed party. "Not a match" is not a rationale. "Customer born 1980-04-12 in Lyon, listed party born 1975-01-30 in Tehran; national ID numbers differ" is one.
Write for a reader who has not seen the case. Cite the source of each fact, such as a document or a registry lookup. When evidence is inconclusive, say so and record that the alert was escalated instead of closed.
Keeping the trail trustworthy
An audit trail is only reliable if it cannot be quietly changed. Good practice includes:
- Append-only storage. Corrections are new entries that reference the old one, never overwrites.
- System-generated timestamps, so analysts cannot back-date a decision.
- Access controls that separate who can review alerts from who can edit configuration.
- Retention for the period your regulator requires, which in many jurisdictions is at least five years from the end of the relationship or the transaction. Check the rule that applies to you.
- Logging of configuration changes, such as threshold edits, with the person who made them and the reason.
A minimal audit record in code
The following example builds a tamper-evident record. Each entry contains a hash of the previous entry, so changing an old record breaks every hash after it.
import hashlib
import json
from datetime import datetime, timezone
def add_entry(log, alert_id, score, disposition, rationale, reviewer):
previous_hash = log[-1]["hash"] if log else "0" * 64
entry = {
"alert_id": alert_id,
"timestamp": datetime.now(timezone.utc).isoformat(),
"score": score,
"disposition": disposition,
"rationale": rationale,
"reviewer": reviewer,
"previous_hash": previous_hash,
}
payload = json.dumps(entry, sort_keys=True).encode("utf-8")
entry["hash"] = hashlib.sha256(payload).hexdigest()
log.append(entry)
def verify(log):
previous_hash = "0" * 64
for entry in log:
body = {k: v for k, v in entry.items() if k != "hash"}
payload = json.dumps(body, sort_keys=True).encode("utf-8")
if entry["previous_hash"] != previous_hash:
return False
if hashlib.sha256(payload).hexdigest() != entry["hash"]:
return False
previous_hash = entry["hash"]
return True
log = []
add_entry(log, "A-0042", 0.92, "false_positive",
"DOB 1980-04-12 differs from listed 1975-01-30; ID numbers differ.",
"analyst_17")
add_entry(log, "A-0043", 0.97, "escalated",
"Name and DOB match; passport not yet obtained.", "analyst_17")
print(verify(log))
log[0]["disposition"] = "escalated"
print(verify(log))The first call prints True. After the first entry is edited, the second call prints False. A real system would use a database with write controls, but the principle is the same.
How the pieces connect
Common errors
- Recording only the outcome, not the reasoning.
- Failing to save the list version or the screening configuration in force at the time.
- Allowing edits that overwrite earlier entries.
- Closing alerts with a generic comment copied across many cases.
- Keeping evidence in separate systems with no link to the alert.
Exercise
An analyst closes an alert with the note "Checked, not a match." The system stored the score and the list name, but not the list version or the evidence reviewed. Name two problems this creates and one fix for each.
Show answer
First, the decision cannot be justified, because the note names no distinguishing facts. Fix: require a rationale that cites specific differences, such as date of birth or ID number. Second, the firm cannot show which list entry was compared, since the list may have changed since. Fix: store the list version with each alert. A related gap is that the evidence reviewed is not attached, which can be fixed by linking source documents to the case.