turbot/azure_insights

Query: kubernetes_cluster_public_access_disabled_count

Usage

powerpipe query azure_insights.query.kubernetes_cluster_public_access_disabled_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_kubernetes_cluster
where
api_server_access_profile ->> 'authorizedIPRanges' is null
and api_server_access_profile ->> 'enablePrivateCluster' = 'false';

Dashboards

The query is used in the dashboards: