Contributor
What did AI do in your business last week? Why AI needs an audit trail, not just logs
Logs say something happened. An audit trail connects the request, the permission decision, the action and the result. Most organisations cannot yet show that for AI.
Ask this question in your next security meeting: what did AI do in our business last week? Not which tools were licensed. What actually happened. Which records were read, which messages were sent, which changes were made, and on whose authority.
Most organisations cannot answer it. That gap, more than any single model risk, is what separates AI that is used from AI that is governed.
Logs are not an audit trail
Security teams already collect plenty of logs. Sign-ins, API calls, file access. The trouble is what those logs record when an AI is involved. If an assistant acts through a person's login, the log shows the person. If an agent calls an API with a shared key, the log shows the key. Nothing says that software made the request, what it was trying to achieve, or whether anyone decided it should be allowed.
An audit trail answers a different question from a log. A log says that something happened. An audit trail connects a request, the permission decision that allowed it, the action that ran, and the result that came back. For AI, each of those links matters, because the request is often written in natural language and the action is chosen by the model.
Five things an AI audit trail needs to show
1. Who asked. The person, and separately the AI identity acting for them. If both collapse into one account, you cannot tell human work from machine work after the fact.
2. What authority applied. The permission that allowed the operation, evaluated at the time it ran. A record that someone had access last month does not show that the access was appropriate today.
3. What was attempted, including what was refused. Denied operations are the most useful entries in the record. They show the boundary working, or show where people keep running into it.
4. What actually changed. The record should capture the result, not only the instruction. An AI that reports it updated a customer record has made a claim. The audit trail should show whether the record changed.
5. What the record leaves out. Logs that capture full business content create a new store of sensitive data. A good design records the decision and the reason without copying the content itself, and restricts who can change retention or delete entries.
Why this matters before an incident, not after
The usual case for audit trails is forensics. After something goes wrong, you need to reconstruct events. That case is real, but it undersells the value.
An audit trail is also how you find out whether your controls are working. Review a month of denied operations and you learn which teams are pushing against which limits, and whether a rule is too tight or a request is something you should never allow. Review the allowed operations and you learn where AI is carrying real work. Both views are policy inputs. Without them, AI rules are written from guesswork.
It also changes the conversation with regulators, insurers and customers. Being able to show what AI did, under what authority, is a stronger position than a policy document saying what AI should do.
What to ask your vendors
Whether the tool is a standalone assistant, an agent platform or an AI feature inside software you already own, the same questions apply.
Does the AI have its own identity, separate from the user who invoked it? If it does not, the trail cannot separate the two.
Can you see denied operations, with the reason? A trail that only lists successes cannot show a boundary.
Does the record show the outcome, or only the request? Ask to see an example of an action that failed halfway.
What happens if the logging or identity service is unavailable? The safe answer is that affected operations stop. If the answer is that work continues unrecorded, the trail has a gap exactly when you need it.
Who can alter or delete records, and is that itself recorded?
Can you test it? Attempt something the AI should not be allowed to do and ask to see the entry. Seeing it is worth more than any description in a brochure.
A realistic starting point
Few organisations will get all five properties at once, and the tools to deliver them are still maturing. A practical start is smaller. List the places where AI can already take an action, not just read. For each, work out where a record of that action would live, and who would look at it. Where the answer is nowhere, or nobody, you have found the first thing to fix.
The aim is plain. When someone asks what AI did in the business last week, you want to answer from evidence, not from assumption.
Disclosure: the author is the founder of HolidayWorks Ai, a vendor that sells governed AI environments to organisations, and writes about a market the company sells into.
Comments
No comments yet.