turbot/azure_insights

Query: network_subnets_for_cosmosdb_account

Usage

powerpipe query azure_insights.query.network_subnets_for_cosmosdb_account

Steampipe Tables

SQL

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