Find malformed resource policy in AWS SecretsManager
python3 -m venv venv
. venv/bin/activate
python3 -m pip install -r requirements.txt
Please configure an AWS Profile to use this tool.
export AWS_PROFILE=<your_aws_profile>
python3 main.py
It will output a list of the secret that have a malformed resource policy