turbot/azure_insights

Query: network_security_group_input

Usage

powerpipe query azure_insights.query.network_security_group_input

SQL

select
g.title as label,
lower(g.id) as value,
json_build_object(
'subscription', s.display_name,
'resource_group', g.resource_group,
'region', g.region
) as tags
from
azure_network_security_group as g,
azure_subscription as s
where
lower(g.subscription_id) = lower(s.subscription_id)
order by
g.title;