turbot/azure_insights

Query: sql_servers_for_network_subnet

Usage

powerpipe query azure_insights.query.sql_servers_for_network_subnet

Steampipe Tables

SQL

select
lower(id) as sql_server_id
from
azure_sql_server,
jsonb_array_elements(virtual_network_rules) as r
where
lower(r -> 'properties' ->> 'virtualNetworkSubnetId') = $1