Benchmark: IAM
Description
This benchmark provides a set of controls that detect Terraform AWS IAM resources deviating from security best practices.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-terraform-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select IAM.
Run this benchmark in your terminal:
powerpipe benchmark run terraform_aws_compliance.benchmark.iam
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run terraform_aws_compliance.benchmark.iam --share
Controls
- Ensure IAM password policy requires minimum length of 14 or greate
- Ensure IAM password policy requires at least one lowercase letter
- Ensure IAM password policy requires at least one number
- Ensure IAM password policy requires at least one symbol
- Ensure IAM password policy requires at least one uppercase letter
- Ensure IAM password policy prevents password reuse
- Password policies for IAM users should have strong configurations
- Ensure IAM password policy requires a minimum length of 8 or greater
- Ensure IAM password policy expires passwords within 90 days or less