turbot/azure_insights

Query: network_security_group_unassociated_count

Usage

powerpipe query azure_insights.query.network_security_group_unassociated_count

SQL

select
count(*) as value,
'Unassociated' as label,
case count(*) when 0 then 'ok' else 'alert' end as type
from
azure_network_security_group
where
subnets is null and network_interfaces is null;

Dashboards

The query is used in the dashboards: