# Custom policy check

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

A custom policy check is an IAM Access Analyzer test that compares a policy update against your security standard, for example to see if it grants new access compared with the existing version. AWS charges for each check. The check complements policy validation, which tests grammar and best practices rather than access change.

## An example, sourced

AWS documentation says you can check whether an updated policy grants new access compared to the existing version while editing in the JSON policy editor, and that a charge applies to each check for new access.

## Why it matters here

A check for new access can run in a change pipeline, so a pull request that widens a policy is flagged.

## Related pages

- [Service account impersonation: meaning and an example](/glossary/service-account-impersonation/)
- [Role chaining: meaning and an example](/glossary/role-chaining/)
- [Privileged role: meaning and an example](/glossary/privileged-role/)
- [All of them](/glossary/)

## Sources

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

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