ai

Access Review Assistant: An AI Agent for Least-Privilege Reviews

The Access Review Assistant is an AI agent that prepares least-privilege access reviews for the people and agent identities using a customer data platform (CDP). Security owners work from its output at propose level (L2): each grant, its last use and a keep-or-remove proposal. It has no ability to grant, revoke, merge or deploy, and it cannot approve its own scope.

Rail level: L2 · Risk: medium · Function: compliance privacy security

By Art Kukharenko · Published · Updated

All AI agent rails

The agent follows the AI agent rails method and covers human accounts and machine identities in one list. The compliance, privacy and security playbook shows where it fits.

Rail at a glance

The Access Review Assistant's rail gives it read-only access to identity data and no route to any write function. Changes happen in the identity system, under the security owner's own credential.

FieldValue
JobPrepare access reviews and propose removal of unused scopes for people and agents.
TriggerA scheduled review cycle.
Data scopeRoles, agent identities, scope grants and scope usage logs.
Tool scopeRead: identity records, scope grants, usage logs; propose: a revocation and review list; execute: none, with no tool that can grant, revoke, merge or deploy.
Output contractEach grant, last use, owner, and a keep-or-remove proposal with a reason.
GateThe security owner decides every change.
LimitsRead-only access to identity data, and a budget per run.
LedgerReview cycle, proposals, decisions, decider.
EvaluationSeeded dormant and excessive grants.
Owner and kill switchSecurity lead; an Orchestrator pause returns the review to manual work.

What it does and who uses it

The Access Review Assistant prepares the list a security owner would otherwise build by hand from several consoles. NIST SP 800-53 control AC-6(7) describes the practice: review privileges periodically, and change or remove those that no longer have a justification 2.

These illustrative rows show the output, with grants listed by role or agent.

GrantLast useOwnerProposalReason
Marketing analyst role: audience exportNot in the 180-day log windowHead of marketing operationsRemoveScope unused across the window; read access stays.
Segment Drafter: extra profile readNeverHead of marketing operationsRemoveNot used since it was granted.
Emergency admin accountOver a year agoSecurity leadKeep, flagBreak-glass account, tagged exempt.
CRM connector token: full accessLast weekPlatform leadReviewIn use, but wider than the calls logged.

Native tools may already cover part of this. When checked on 1 November 2026, Microsoft Entra access reviews could recommend Deny for users with no sign-in in 30 days, fixing that date when the review begins 3. AWS IAM Access Analyzer reports unused roles, access keys and permissions 4. If your estate sits in one such system, start there. The assistant earns its place when people and agents span several systems.

Why this level

The Access Review Assistant stays at propose level (L2) because a wrong change hurts in either direction. A wrong revocation can lock a team out or stop a pipeline, and undoing it may take longer than the outage allows. A wrong grant widens the blast radius for whoever later holds that credential.

The Rule of Two 1 closes the question. Identity records and usage logs are sensitive, and they contain strings set elsewhere, such as token names and service descriptions, which count as untrusted. With both properties present, no state-changing tool is allowed. A write tool here would also be a prize: a hijacked session could give itself access or remove the security team's.

This rail never moves up. The agent's own scopes are excluded from its output by rule and reviewed by the security lead.

Three ways it fails, and the control for each

Access reviews fail on the gap between what logs show and what the business needs.

FailureWhat it looks likeControl
Unused read as unneededBreak-glass, year-end and disaster-recovery access look idle, and removal waits for the day they are needed.Exempt tags set by the security owner. Each row shows the log window, and access older than the logs reads "no data", not "unused".
Blind spots in the inventoryOAuth tokens, connector accounts and local database roles sit outside the identity system, so the review looks complete.Each review lists the sources it covered and the connectors it could not read. The Salesloft Drift token theft shows why tokens belong in scope.
Review by habitA tired owner accepts the whole list, or keeps everything to avoid complaints.Privileged grants need a decision per grant, not bulk approval. Seeded excessive grants sit in each cycle, and results are summarised by rail and role.

Usage logs show what individuals do at work, so keep this rail away from performance questions. Annex III point 4(b) of the EU AI Act lists monitoring and evaluating workers' performance and behaviour among high-risk uses 5. Report last use per grant, never rank people by activity, and take advice before using these logs for anything else.

How to evaluate it

An access review agent is doing well when real excess goes away and little has to be given back. Run seeded grants through each cycle, and track what owners decide.

  • Catch rate on seeded grants, including dormant agent identities as well as human accounts.
  • Unused scopes removed, counted after the owner's decision, not when proposed.
  • Review completion time, from cycle start to the last decision.
  • Re-grant rate. Scopes requested back soon after removal mark proposals that missed a real need.
  • Coverage, the share of known connectors and token stores read in the cycle.

Where it runs

Identity data maps who can reach what, which makes it valuable to an attacker even without customer records. Prefer a private model, and let anything external see it only with masking and contract cover; the boundary architecture patterns describe the gateway. PrivyCDP sets limits on data access for its AI-assisted features, while this assistant remains a pattern for your security team to define.

Related agents sit in the AI agent rails hub. Every agent identity needs a written scope to review against, and the rail card template provides one.

Browse use casesFunction playbooksAgent roster

FAQ

Can an AI agent approve or revoke access?

No. It prepares the list and proposes removals, and the security owner decides each change in the identity system. It holds no tool that could grant or revoke, so a hijacked session cannot alter access.

Should AI agents be included in access reviews?

Yes. An agent identity holds scopes and tokens just as a person does, and its needs change when a rail changes. Review each one against its current job, and give it a named owner.

Does an access review count as monitoring staff?

It can drift that way, since usage logs record what people do. Limit the output to last use per grant, avoid activity rankings, and take advice on how your jurisdiction treats these logs.

Sources

  1. Meta, Agents Rule of Two, for sessions reading identity data
  2. NIST SP 800-53 Rev. 5, AC-6(7), reprint
  3. Microsoft, review recommendations for Entra access reviews
  4. AWS, IAM Access Analyzer findings
  5. EU AI Act Annex III

This article is general information, not legal advice.

Further reading

Published: · Updated:

Editorial dates describe content changes. Confirm current sources before making legal, security or purchasing decisions.