Skill 4.2.4

Analyze authorization failures to determine causes or effects (for example, IAM Policy Simulator, IAM Access Analyzer)

Key Concepts

Many access denied errors state the policy type responsible (for example "with an explicit deny in a service control policy" or "no identity-based policy allows"). CloudTrail shows the errorCode and errorMessage for the call.

The IAM policy simulator tests identity policies, boundaries and SCP effects against actions and resources. IAM Access Analyzer policy validation reports errors, security warnings and suggestions; custom policy checks (CheckNoNewAccess, CheckAccessNotGranted, CheckNoPublicAccess) can block risky policy changes in pipelines.