turbot/azure_insights

Query: network_firewall_ip_configurations

Usage

powerpipe query azure_insights.query.network_firewall_ip_configurations

Steampipe Tables

SQL

select
c ->> 'privateIPAddress' as "Private IP Address",
c -> 'publicIPAddress' ->> 'id' as "Public IP Address",
c ->> 'provisioningState' as "Provisioning State",
c -> 'subnet' ->> 'id' as "Subnet ID"
from
azure_firewall,
jsonb_array_elements(ip_configurations) as c
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: