turbot/oci_insights

Query: oci_vcn_security_list_by_tenancy

Usage

powerpipe query oci_insights.query.oci_vcn_security_list_by_tenancy

SQL

select
c.title as "Tenancy",
count(sg.*) as "Security Lists"
from
oci_core_security_list as sg,
oci_identity_tenancy as c
where
c.id = sg.tenant_id and lifecycle_state <> 'TERMINATED'
group by
c.title
order by
c.title;

Dashboards

The query is used in the dashboards: