Skip to content
AI Agent Access Control

Test permission and policy changes in a dry run before enforcing them

Check 25 of 30: Test permission and policy changes in a dry run before enforcing them. A new deny or boundary can break an agent's tools in ways nobody saw coming, and a mistaken allow can open access without anyone noticing. Testing first shows the effect before it reaches production.

The whole checklist ยท The map

Why it matters

A new deny or boundary can break an agent's tools in ways nobody saw coming, and a mistaken allow can open access without anyone noticing. Testing first shows the effect before it reaches production.

How, in each cloud

AWS
Use the IAM policy simulator to test identity-based policies.
Google Cloud
Use organization policies in dry-run mode to monitor how a policy would behave.
Azure
Assign Azure Policy with enforcementMode DoNotEnforce.

What the documentation says

  • "With the IAM policy simulator, you can test identity-based policies," (source)
  • "This page shows how to use an organization policy in dry-run mode to monitor how" (source)
  • "The enforcementMode property provides customers the ability to control the outcome of a policy on existing resources without initiating the policy effect" (source)

Sources

  1. docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html, read 10 Nov 2026
  2. cloud.google.com/resource-manager/docs/organization-policy/dry-run-policy, read 10 Nov 2026
  3. learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure, read 10 Nov 2026

Last reviewed 16 Nov 2026.