turbot/oci_insights

Query: objectstorage_bucket_versioning_status

Usage

powerpipe query oci_insights.query.objectstorage_bucket_versioning_status

Steampipe Tables

SQL

with versioning_stat as (
select
case
when versioning = 'Disabled' then 'disabled'
else 'enabled'
end as versioning_stat
from
oci_objectstorage_bucket
)
select
versioning_stat,
count(*)
from
versioning_stat
group by
versioning_stat;

Dashboards

The query is used in the dashboards: