turbot/azure_insights

Query: cosmosdb_account_public_count

Usage

powerpipe query azure_insights.query.cosmosdb_account_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_cosmosdb_account
where
public_network_access = 'Enabled';

Dashboards

The query is used in the dashboards: