← All insightsEngineering

Audit trails that hold up: five rules for regulated software

An audit log is only useful if people can trust it. Five practical rules for building audit trails that stand up to scrutiny.

24 November 2026 · 6 min read · AppiqoR engineering

Sooner or later, someone will ask your software a hard question: who changed this, when, and why? An auditor, a regulator, a customer with a complaint or your own finance team. If the honest answer is "we are not sure", the software has failed, however good it looks.

Most systems have some kind of log. Far fewer have an audit trail that people can actually rely on. Here are five rules we follow.

1. Record the business event, not just the database change

"Row 4182 updated" helps nobody. "Payout for March approved by the operations manager, amount changed from 12,400 to 12,150, reason: clawback for cancelled transaction" does. Capture who acted, what they did in business terms, the values before and after, and the reason they gave.

2. Make it append-only

An audit trail that can be edited is just another table. Write audit entries once and never update or delete them through the application. Restrict even administrators, and log any access to the audit store itself.

3. Make tampering evident

For high-stakes records, chain entries together so each one includes a fingerprint of the one before. If someone alters a past entry, the chain breaks and the change is detectable. This is a well-understood technique and does not need anything exotic.

4. Keep time and identity trustworthy

Use server time from a synchronised clock, never the user's device. Tie every action to an individual identity, not a shared login, and record when someone acts on behalf of another person.

5. Make it readable by people who are not engineers

The person asking the question is usually not a developer. Give them a filtered, searchable history screen and an export they can attach to a report. An audit trail nobody can read does not exist in practice.

The payoff

Good audit trails are cheap to build in from the start and expensive to add later. They also pay back in everyday operations: support teams resolve disputes faster, and managers stop guessing what happened.

This article is general information about software design. It is not legal or regulatory advice; record-keeping requirements for your business depend on your sector and should be confirmed with your compliance advisers.