turbot/oci_insights

Query: compartment_count

Usage

powerpipe query oci_insights.query.compartment_count

Steampipe Tables

SQL

select
count(*) as "Compartments"
from
oci_identity_compartment
where
lifecycle_state = 'ACTIVE';

Dashboards

The query is used in the dashboards: