The monthly agent permission sweep every security team executes
Run a structured reconciliation of every agent credential against live workflows to revoke unused access before it compounds.
The monthly agent permission sweep every security team executes
Last month a finance agent retained write access to the ERP after its workflow was decommissioned, triggering an audit flag at quarter close.
The play, step by step
- Pull the current agent registry from Copilot Studio and LangGraph, then export the list of all active credentials to a shared ServiceNow ticket owned by the security lead.
- Cross-reference each credential against the agent workflow handoff log maintained by the platform team; flag any credential without a matching active workflow entry.
- For every flagged item the security lead opens a 48-hour revocation ticket in ServiceNow and assigns it to the workflow owner with a required justification field.
- Workflow owners respond in the ticket or the credential is revoked at the 48-hour mark by the security lead using the identity provider console.
- Update the agent registry with the new permission state and attach the closed tickets as artifacts in the same ServiceNow record.
- The compliance officer reviews the completed record and signs off within 24 hours or escalates.
When to run this play
Trigger the sweep on the first Monday of each month or immediately after any agent pilot moves to production status.
Watch-outs
If more than 30 percent of credentials lack workflow matches, stop the sweep and escalate to the CISO before any mass revocation.
flowchart TD
A["Pull registry from Copilot Studio"] --> B["Export to ServiceNow ticket"]
B --> C["Cross reference handoff log"]
C --> D["Flag unmatched credentials"]
D --> E["Open 48 hour revocation ticket"]
E --> F["Workflow owner responds or revoke"]
F --> G["Update registry and attach artifacts"]
G --> H["Compliance sign off"]
Your first week
Open a ServiceNow ticket titled "Agent permission sweep - [current month]" and populate it with the exported registry from Copilot Studio.