Helps identify misconfigured or stale AWS IAM user accounts
-
Python3
-
Pip3
-
Virtualenv
-
Install required Python packages
cd <path-to-credential-report-parser> python3 -m pip install -r requirements.txt
-
Create and activate virtual environment
virtualenv env source ./env/bin/activate
-
See help menu:
python3 ./credential-report-parser.py --help
-
List users' last logged in time:
python3 ./credential-report-parser.py last_used
-
List only users that did not log in within the last 30 days:
python3 ./credential-report-parser.py --days 30 last_used
-
List users' last password change time:
python3 ./credential-report-parser.py password_change_dates
-
List only users that did not reset their password within the last 60 days:
python3 ./credential-report-parser.py --days 60 password_change_dates
-
Show multi-factor authentication (MFA) status of users (
true
means MFA is enabled andfalse
means it is not enabled for that user):python3 ./credential-report-parser.py mfa_enabled