turbot/azure_insights

Query: activedirectory_group_with_no_member

Usage

powerpipe query azure_insights.query.activedirectory_group_with_no_member

Steampipe Tables

SQL

select
case
when jsonb_array_length(member_ids) = 0 then 'no members'
else 'with members'
end as status,
count(*)
from
azuread_group
group by
status;

Dashboards

The query is used in the dashboards: