# Policy validation

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

Policy validation is the check of an IAM policy against policy grammar and best practices before it is saved. IAM Access Analyzer reports security warnings, errors, general warnings and suggestions. The same checks run through the console, the AWS CLI and the AWS API.

## An example, sourced

AWS documentation says Access Analyzer validates a policy against IAM policy grammar and AWS best practices, shows findings when a managed policy is created or edited in the console, and gives no findings for inline group policies.

## Why it matters here

Validation catches overbroad or malformed grants before they reach an account, where removal is harder.

## Related pages

- [Custom policy check: meaning and an example](/glossary/custom-policy-check/)
- [Service account impersonation: meaning and an example](/glossary/service-account-impersonation/)
- [Role chaining: meaning and an example](/glossary/role-chaining/)
- [All of them](/glossary/)

## Sources

- https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-policy-validation.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://leastprivilegeprinciple.com/glossary/policy-validation/
