turbot/gcp_compliance

Query: storage_bucket_bucket_policy_only_enabled

Usage

powerpipe query gcp_compliance.query.storage_bucket_bucket_policy_only_enabled

Steampipe Tables

SQL

select
self_link resource,
case
when iam_configuration_bucket_policy_only_enabled then 'ok'
else 'alarm'
end as status,
case
when iam_configuration_bucket_policy_only_enabled then title || ' bucket only policy turned on.'
else title || ' bucket only policy turned off'
end as reason,
location as location,
project as project
from
gcp_storage_bucket;

Controls

The query is being used by the following controls: