Control: Ensure that Cloud Storage buckets have uniform bucket-level access enabled
Description
It is recommended that uniform bucket-level access is enabled on Cloud Storage buckets.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.storage_bucket_uniform_access_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.storage_bucket_uniform_access_enabled --share
SQL
This control uses a named query:
select self_link resource, case when iam_configuration_uniform_bucket_level_access_enabled then 'ok' else 'alarm' end as status, case when iam_configuration_uniform_bucket_level_access_enabled then title || ' uniform bucket-level access enabled.' else title || ' uniform bucket-level access not enabled.' end as reason , location as location, project as projectfrom gcp_storage_bucket;