turbot/azure_insights

Query: sql_server_public_network_access

Usage

powerpipe query azure_insights.query.sql_server_public_network_access

Steampipe Tables

SQL

select
'Public Access' as label,
case when public_network_access = 'Enabled' then 'Enabled' else 'Disabled' end as value,
case when public_network_access = 'Enabled' then 'alert' else 'ok' end as type
from
azure_sql_server
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: