This script will analyze using AWS Access Analyzer - Policy Validation all your account customer managed IAM policies.
ProTip 💡 : Use AWS CloudShell to run this directly on your AWS Account
$ python3 -m pip install aa-policy-validator --user
$ python3 -m aa-policy-validator
$ python3 -m pip install aa-policy-validator -U --user --no-cache-dir
Results will be written into /tmp/findings
folder with a README.md
file inside.