turbot/alicloud_insights

Query: oss_bucket_by_default_encryption_status

Usage

powerpipe query alicloud_insights.query.oss_bucket_by_default_encryption_status

Steampipe Tables

SQL

with default_encryption as (
select
case when server_side_encryption ->> 'SSEAlgorithm' = '' then 'disabled' else 'enabled'
end as status
from
alicloud_oss_bucket
)
select
status,
count(*)
from
default_encryption
group by
status;

Dashboards

The query is used in the dashboards: