turbot/oci_insights

Query: identity_groups_by_tenancy

Usage

powerpipe query oci_insights.query.identity_groups_by_tenancy

SQL

select
t.name as "Tenancy",
count(g.*) as "Total"
from
oci_identity_group as g,
oci_identity_tenancy as t
where
t.id = g.tenant_id
group by
t.name
order by count(g.*) desc;

Dashboards

The query is used in the dashboards: