Audit Logs for AI Agents
In regulated environments the security team examines the identity layer most closely, so an FDE needs a working answer for how the agent's actions are tied to a person.
Why a Security Review Starts With Identity
When an AI agent is deployed into a regulated environment, the conversation with the security team is not a formality. The source for this lesson states plainly that in these environments the security team will examine the identity layer more closely than anything else. A deployment can be technically impressive in every other respect, but if the security team cannot see who stands behind the agent's actions, the deployment is at risk.
This article looks at what that examination asks for and why a prepared FDE can get through it quickly. The short version is that the reviewer wants a working answer to one question: how are this agent's actions tied to a person who can be paged at 2 a.m.?
Consider two FDEs arriving at the same security review with the same agent. The first has no working answer to that basic question. The second arrives with a prepared, organized answer that covers the identity, the sponsor, the audit log, and the revocation procedure. Both FDEs understand the agent equally well. The difference is how quickly the security team can reach a decision.
What do you think happens?
Which of the two FDEs is likely to move past the security conversation quickly?
Reveal answer
The FDE who arrives with the organized answer covering identity, sponsor, audit log, and revocation procedure.
The source says an FDE who arrives with that complete answer can move past the security conversation quickly, while one without it risks losing the deployment. Both FDEs understand the agent equally well, so the difference lies in whether the accountability question has a ready answer.
Following an Action Back to a Person
The central idea in this topic is traceability from an agent's action to a human. When the agent does something inside the environment, a reviewer should be able to follow a chain back to a named person who is responsible for that agent. The chain runs from the action, to the record of that action, to the identity, and finally to the person that identity points to.
Read the diagram from left to right as a reviewer would read it in reverse. The reviewer starts with a single action the agent took and asks who answers for it. The audit log is the record that connects the action to the rest of the chain, and the identity is the link that ends at a person. The diagram is a teaching aid built from the source's list of components. The source does not spell out every link in detail, so the arrows show the direction of the trace, not a full technical wiring of the system.
Tracing one action to an accountable person
An agent takes an action inside a company's internal environment. A security reviewer asks who is accountable for that action if something goes wrong at 2 a.m.
- 1Start from the action
The reviewer identifies the specific action the agent performed. The trace always begins with something the agent actually did.
- 2Find the record of the action
The reviewer locates the audit log entry for that action. The log is the link between what happened and the rest of the chain.
- 3Follow the link to the identity
From the record, the reviewer follows the link to the identity tied to the agent's actions. The identity is not the agent's own name or code. It is the human link.
- 4Reach the person who can be paged
The identity resolves to a named person who can be paged at 2 a.m. That person is the one who answers for the agent.
The reviewer can move from one action to a named, reachable human in a short, repeatable sequence. This is the answer the security team is looking for.
Identity Is the Human Link
In this topic, the identity is the person who can be paged at 2 a.m. and who is tied to the agent's actions. It is the human link that makes the agent accountable in a regulated setting.
This is why the identity layer receives the closest scrutiny. Everything the agent does is only as accountable as the human link attached to it. If the chain stops at the agent itself, the security team has no one to ask.
The Four Items in a Clean Answer
The source lists four things that a clean answer contains. Each one answers a different question a security reviewer is likely to ask. Together they form one review package. The list below restates them in the order the source gives them.
- Identity: the person who can be paged at 2 a.m. and who is tied to the agent's actions.
- Sponsor: the item the source names as part of the clean answer. The source introduces it as one of the four things a reviewer expects to see alongside the identity.
- Audit log: the record that lets a reviewer trace the agent's actions back toward the identity.
- Revocation procedure: the procedure for cutting off the agent's access. The source names it as part of the answer rather than describing its steps in detail.
The source does not define the sponsor, audit log, or revocation procedure at length. Its point is that an FDE should be able to present all four together, prepared in advance, rather than assembling the answer during the review itself.
What Revocation Does to an Agent's Access
The revocation procedure is the item that answers the question of how access is cut off. The source names it but does not describe its mechanics, so this section only traces the state change in general terms. Before revocation, the agent has access and can act. After revocation, its access is no longer active, and any action it then attempts is a different situation from its earlier actions.
Mistakes Preparing for the Review
Common mistake Presenting the agent's own name as the answer to who is accountable
What it looks likeAsked who answers for the agent, the FDE replies with the agent's name and moves on.
Why it failsThe source defines the identity as the person who can be paged at 2 a.m. and who is tied to the agent's actions. The agent's name or code is not the human link.
Do this insteadName the specific person tied to the agent's actions and confirm they can be paged.
Common mistake Arriving with only part of the answer
What it looks likeThe FDE explains the identity and the audit log but has no ready account of the revocation procedure.
Why it failsThe source says a clean answer presents four items together, and an FDE without the complete answer risks losing the deployment.
Do this insteadPrepare all four items, identity, sponsor, audit log, and revocation procedure, before the review begins.
Common mistake Treating the diagram as a full technical specification
What it looks likeThe FDE copies the arrows from a teaching diagram into a design document as if they were the exact system wiring.
Why it failsThe source states that the diagram is a teaching aid and does not describe every link in detail.
Do this insteadUse the diagram to explain the direction of the trace, and document the real wiring of the deployment separately.
Common mistake Assuming the security team will fill in gaps during the review
Preparing Your Own Review Answer
Choose an agent you could plausibly deploy into a regulated environment. Write a short answer for each of the four items the source names: identity, sponsor, audit log, and revocation procedure. For the identity, name the person who can be paged at 2 a.m. and explain how an action is tied to them. Then check whether your answer would let a reviewer trace one action from start to a named human.
Hints
- Start from one specific action the agent takes, not from the agent in general.
- If your identity answer is a name for the agent itself, rewrite it so it names a person.
- Mark any item where you cannot yet say what the deployment actually does, rather than guessing.
Key Takeaways
- In regulated environments the security team examines the identity layer most closely, so an FDE needs a working answer for how the agent's actions are tied to a person.
- The identity is the person who can be paged at 2 a.m. and is tied to the agent's actions. It is the human link, not the agent's own name or code.
- A clean answer presents four items together: identity, sponsor, audit log, and revocation procedure, prepared before the review begins.
- Traceability runs from an agent's action, through its record in the audit log, to the identity and the named person behind it.