turbot/azure_insights

Query: sql_server_public_status

Usage

powerpipe query azure_insights.query.sql_server_public_status

Steampipe Tables

SQL

select
public_network,
count(*)
from (
select
case when public_network_access = 'Enabled' then 'public'
else 'private'
end public_network
from
azure_sql_server) as s
group by
public_network
order by
public_network;

Dashboards

The query is used in the dashboards: