Control: Check if Cloud Storage buckets have Bucket Only Policy turned on
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.require_bucket_policy_only
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.require_bucket_policy_only --share
SQL
This control uses a named query:
storage_bucket_bucket_policy_only_enabled