audit_stale_access_keys
Scan IAM users for active access keys older than max_age_days, returning severity-ranked findings based on MFA enrollment to reveal leaked-key risks.
Instructions
Audit IAM users for active access keys older than max_age_days.
Scans every IAM user and flags each Active access key whose age exceeds max_age_days. Returns {check, ok, findings[], scanned} where scanned is the number of users examined. Severity is HIGH when the key's owner has no MFA device (a leaked key is the only factor), MEDIUM when the owner has MFA.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_age_days | No |