Benchmark: Storage
Description
This section contains recommendations for configuring Storage resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select Storage.
Run this benchmark in your terminal:
powerpipe benchmark run gcp_compliance.benchmark.all_controls_storage
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_compliance.benchmark.all_controls_storage --share
Controls
- Check if Cloud Storage buckets have Bucket Only Policy turned on
- Ensure that Cloud Storage bucket used for exporting logs is not anonymously or publicly accessible
- Ensure that Cloud Storage buckets used for exporting logs have object versioning enabled
- Ensure that Cloud Storage buckets used for exporting logs have retention policy enabled
- Ensure that Cloud Storage buckets used for exporting logs are configured using bucket lock
- Ensure that Cloud Storage bucket is not anonymously or publicly accessible
- Ensure that Cloud Storage buckets have uniform bucket-level access enabled