turbot/azure_insights

Query: network_express_route_circuit_no_peerings_count

Usage

powerpipe query azure_insights.query.network_express_route_circuit_no_peerings_count

SQL

select
count(*) as value,
'No Peerings' as label,
case
when count(*) = 0 then 'ok'
else 'alert'
end as type
from
azure_express_route_circuit
where
jsonb_array_length(peerings) = 0;

Dashboards

The query is used in the dashboards: