turbot/azure_insights

Query: network_interface_ip_forwarding_enabled

Usage

powerpipe query azure_insights.query.network_interface_ip_forwarding_enabled

Steampipe Tables

SQL

select
'IP Forwarding' as label,
case when enable_ip_forwarding then 'Enabled' else 'Disabled' end as value,
case when enable_ip_forwarding then 'Ok' else 'Alert' end as type
from
azure_network_interface
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: