turbot/azure_insights

Query: activedirectory_group_with_no_members_count

Usage

powerpipe query azure_insights.query.activedirectory_group_with_no_members_count

Steampipe Tables

SQL

select
count(*) as value,
'Without Members' as label,
case when count(*) = 0 then 'ok' else 'alert' end as type
from
azuread_group
where
jsonb_array_length(member_ids) = 0;

Dashboards

The query is used in the dashboards: