turbot/alicloud_insights

Query: oss_bucket_encryption

Usage

powerpipe query alicloud_insights.query.oss_bucket_encryption

Steampipe Tables

SQL

select
'Encryption' as label,
case
when server_side_encryption ->> 'SSEAlgorithm' <> '' then 'Enabled'
else 'Disabled'
end as value,
case
when server_side_encryption ->> 'SSEAlgorithm' <> '' then 'ok'
else 'alert'
end as type
from
alicloud_oss_bucket
where
arn = $1;

Dashboards

The query is used in the dashboards: