turbot/azure_insights

Query: key_vault_public_network_access_enabled

Usage

powerpipe query azure_insights.query.key_vault_public_network_access_enabled

Steampipe Tables

SQL

select
'Public Access' as label,
case when network_acls is null or network_acls ->> 'defaultAction' != 'Deny' then 'Enabled' else 'Disabled' end as value,
case when network_acls is null or network_acls ->> 'defaultAction' != 'Deny' then 'alert' else 'ok' end as type
from
azure_key_vault
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: