turbot/azure_insights

Query: kubernetes_cluster_pod_security_policy_disabled_count

Usage

powerpipe query azure_insights.query.kubernetes_cluster_pod_security_policy_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Pod Security Policy Disabled' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as "type"
from
azure_kubernetes_cluster
where
enable_pod_security_policy is null
or not enable_pod_security_policy;

Dashboards

The query is used in the dashboards: