turbot/oci_insights

Query: objectstorage_bucket_input

Usage

powerpipe query oci_insights.query.objectstorage_bucket_input

SQL

select
b.name as label,
b.id as value,
json_build_object(
'c.name',
coalesce(c.title, 'root'),
'b.region',
b.region,
't.name',
t.name
) as tags
from
oci_objectstorage_bucket as b
left join oci_identity_compartment as c on b.compartment_id = c.id
left join oci_identity_tenancy as t on b.tenant_id = t.id
order by
b.name;

Dashboards

The query is used in the dashboards: