Benchmark: Secrets Manager
Description
This benchmark provides a set of controls that detect Terraform AWS Secrets Manager 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 Secrets Manager.
Run this benchmark in your terminal:
powerpipe benchmark run terraform_aws_compliance.benchmark.secretsmanager
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run terraform_aws_compliance.benchmark.secretsmanager --share
Controls
- Secrets Manager secrets should have automatic rotation enabled
- Secrets Manager secrets should be rotated within a specified number of days
- Secrets Manager secrets should be encrypted with KMS CMK