turbot/azure_insights

Query: cosmosdb_account_public_access

Usage

powerpipe query azure_insights.query.cosmosdb_account_public_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_cosmosdb_account
where
lower(id) = $1;

Dashboards

The query is used in the dashboards: