Benchmark: Storage
Description
This benchmark provides a set of controls that detect Terraform GCP Cloud Storage resources deviating from security best practices.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-terraform-gcp-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select Storage.
Run this benchmark in your terminal:
powerpipe benchmark run terraform_gcp_compliance.benchmark.storageSnapshot and share results via Turbot Pipes:
powerpipe benchmark run terraform_gcp_compliance.benchmark.storage --shareControls
- Storage buckets logging should be enabled
- Ensure that Cloud Storage bucket is not anonymously or publicly accessible
- Storage buckets public access prevention should be enforced
- Storage buckets self logging should be disabled
- Ensure that Cloud Storage buckets have uniform bucket-level access enabled
- Storage buckets versioning should be enabled