turbot/oci_insights

Query: filestorage_filesystem_input

Usage

powerpipe query oci_insights.query.filestorage_filesystem_input

SQL

select
f.display_name as label,
f.id as value,
json_build_object(
'f.id',
right(reverse(split_part(reverse(f.id), '.', 1)), 8),
'f.region',
region,
'oic.name',
coalesce(oic.title, 'root'),
't.name',
t.name
) as tags
from
oci_file_storage_file_system as f
left join oci_identity_compartment as oic on f.compartment_id = oic.id
left join oci_identity_tenancy as t on f.tenant_id = t.id
where
f.lifecycle_state <> 'DELETED'
order by
f.display_name;

Dashboards

The query is used in the dashboards: