Benchmark: KMS
Description
This section contains recommendations for configuring KMS resources.
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 KMS.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.all_controls_kms
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.all_controls_kms --share
Controls
- KMS CMK policies should prohibit public access
- KMS CMK rotation should be enabled
- KMS key should be in use
- KMS key decryption should be restricted in IAM customer managed policy
- KMS key decryption should be restricted in IAM inline policy
- KMS keys should not be pending deletion