turbot/oci_insights

Query: vcn_security_list_input

Usage

powerpipe query oci_insights.query.vcn_security_list_input

SQL

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

Dashboards

The query is used in the dashboards: