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-gcp-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select KMS.
Run this benchmark in your terminal:
powerpipe benchmark run gcp_compliance.benchmark.all_controls_kmsSnapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_compliance.benchmark.all_controls_kms --shareControls
- Check that CMEK rotation policy is in place and is sufficiently short
 - Ensure that Cloud KMS cryptokeys are not anonymously or publicly accessible
 - Ensure KMS encryption keys are rotated within a period of 90 days
 - Ensure that Separation of duties is enforced while assigning KMS related roles to users
 - Ensure KMS encryption keys has three or less than three number of users