turbot/alicloud_insights

Query: oss_bucket_by_versioning_status

Usage

powerpipe query alicloud_insights.query.oss_bucket_by_versioning_status

Steampipe Tables

SQL

with versioning_status as (
select
case
when versioning = 'Enabled' then 'enabled' else 'disabled'
end as status
from
alicloud_oss_bucket
)
select
status,
count(*)
from
versioning_status
group by
status;

Dashboards

The query is used in the dashboards: