turbot/azure_insights

Query: network_subnets_for_storage_account

Usage

powerpipe query azure_insights.query.network_subnets_for_storage_account

Steampipe Tables

SQL

select
distinct(lower(r ->> 'id')) as subnet_id
from
azure_storage_account,
jsonb_array_elements(virtual_network_rules) as r
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);