turbot/alicloud_insights

Query: oss_bucket_unencrypted_count

Usage

powerpipe query alicloud_insights.query.oss_bucket_unencrypted_count

Steampipe Tables

SQL

select
count(*) as value,
'Unencrypted' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as "type"
from
alicloud_oss_bucket
where
server_side_encryption ->> 'SSEAlgorithm' = '';

Dashboards

The query is used in the dashboards: