turbot/azure_insights

Query: virtual_network_ddos_protection

Usage

powerpipe query azure_insights.query.virtual_network_ddos_protection

Steampipe Tables

SQL

select
'DDoS Protection' as label,
case when enable_ddos_protection then 'Enabled' else 'Disabled' end as value,
case when enable_ddos_protection then 'ok' else 'alert' end as type
from
azure_virtual_network
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: