turbot/alicloud_compliance

Query: oss_bucket_public_access_blocked

Usage

steampipe query alicloud_compliance.query.oss_bucket_public_access_blocked

Plugins & Tables

SQL

select
-- Required Columns
'acs:oss:::' || name as resource,
case
when acl = 'private' then 'ok'
else 'alarm'
end as status,
case
when acl = 'private' then title || ' not publicly accessible.'
else name || ' publicly accessible.'
end as reason,
-- Additional Dimensions
region,
account_id
from
alicloud_oss_bucket;