Benchmark: 8.2.6: Inactive user accounts are removed or disabled within 90 days of inactivity
Description
Accounts that are not used regularly are often targets of attack since it is less likely that any changes, such as a changed password, will be noticed. As such, these accounts may be more easily exploited and used to access cardholder data.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select 8.2.6: Inactive user accounts are removed or disabled within 90 days of inactivity.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.pci_dss_v40_requirement_8_2_6
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.pci_dss_v40_requirement_8_2_6 --share
Controls
- IAM groups should have at least one user
- IAM user credentials that have not been used in 90 days should be disabled
- Secrets Manager secrets that have not been used in 90 days should be removed