turbot/azure_insights

Query: sql_server_public_count

Usage

powerpipe query azure_insights.query.sql_server_public_count

Steampipe Tables

SQL

select
count(*) as value,
'Publicly Accessible' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
azure_sql_server
where
public_network_access = 'Enabled';

Dashboards

The query is used in the dashboards: