Imagine running a routine GitHub access review and spotting an AI agent with write access to a repository containing code that handles customer data. The rollout ticket approved a limited pilot for code suggestions in an editor. Now the agent can modify repository files, and we can’t find a record approving that expanded access. The permission log tells us when access changed. We still need to establish who authorized it and why.
That’s an AI agent security problem an AI policy alone can’t solve. We just need one clear place where everyone can see what tools we’re using, what data they can access, who’s in charge of them, who gave the initial thumbs-up, and (ideally) the duration it is/will be connected.
Approving the use case and logging permissions
Let's say a team is testing out GitHub Copilot Business for code completion and drafting unit tests. We might give them the green light for a select group of developers working on specific internal repositories. But turning on a coding agent with write access is a whole different ballgame that deserves its own dedicated review. GitHub lays out org-level policies for Copilot features and models, including when enterprise settings take precedence over everything else. We should be sure to double-check those active settings before locking in the exact restrictions we're enforcing.
The business decision establishes what we're comfortable using the tool for, while the technical decision grants the specific permissions. Both need a clear owner, and the connection between the two should be simple to track. Otherwise, the team handling AI access can easily get stuck managing broad permissions that nobody ever meant to leave open.
What standards and auditors are actually looking for
ISO/IEC 42001 gives us the clearest framework here. Within your AI management system, clause 6.1.3 expects designated leadership to approve the AI risk treatment plan and sign off on residual risk. Clause 8.3 requires documented proof of your risk treatment. A solid use-case log makes it easy to show who accepted the risk, under what conditions, and where to find the proof.
The voluntary AI Risk Management Framework (from NIST) calls for a clear AI system inventory along with documented responsibilities. For SOC 2 compliance, the Trust Services Criteria cover sign-offs and documentation for in-scope changes under CC8.1, as well as user access authorization under CC6.2. Whether an AI rollout lands inside those controls comes down to your audit scope and how you've set things up.
The EU AI Act’s high-risk deployer rules bring extra responsibilities—like setting up human oversight, keeping logs under your own control, and registering certain deployments. The major high-risk requirements kick in starting December 2027 or August 2028, depending on your classification. Across all of these, the core AI audit question remains the same: can we pull up the original decision and show what happened afterward?
Build a single AI tool inventory and keep it up to date
Start by bringing together procurement and expense records, single sign-on logs, app consent forms, and team declarations, then compare them. A tool bought on someone's personal card might slip past expense reports, and an AI feature turned on inside an existing subscription might bypass procurement entirely. Whenever you spot potential shadow access, give it a status tag and assign someone to check it out.
A shared register can start as simply as a ticket with a few key fields. Here’s a quick example of how that Copilot pilot entry might look:
- Use and data: Code completion and unit-test drafting across selected internal repositories. Customer records and production secrets are strictly off-limits.
- Owner and decision: The engineering platform lead owns the pilot. The security director approved it for a 90-day window. Ticket AI-042 captures the date, reasoning, and key conditions.
- Evidence and review: Link straight to the pilot user list and active settings. Re-evaluate before turning on coding agents, opening up new repos, or expanding data access. Make sure pilot access gets revoked automatically if approval runs out.
Give routine requests a fast track, but route sensitive data, new integrations, and production write access to the right experts who can evaluate the risks. Whenever an owner moves on, reassign the record and review its permissions before orphaned agents start piling up.
Tie the approval record to live access
Connect approval records directly to live access
Say an approved incident-triage agent needs access to CloudTrail in Amazon Web Services (AWS). The inventory register captures why the agent is allowed to read those logs. The access record should explicitly show which identity received the permission, what it could view, who or what authorized the access, and when that access expires.
Rely on access approval automation to route requests seamlessly, and use just-in-time access to keep permission windows tight. Be sure to bake deprovisioning right into the workflow so you can verify access is cleaned up as soon as a pilot wraps up or a use case gets retired.
Pick an agent your team uses today, pull up its approval record, and compare it against its active permissions. If you can point to the approver and explain every live grant, you'll be completely prepared the next time someone asks.
Try Trustle
Start the Trustle free trial to set clear time limits on agent access across supported resources, route higher-risk requests to human approvers, and log every decision. That way, you'll always have a clear paper trail connecting active grants back to approved use cases whenever someone asks who authorized access and when it ended.
