turbot/azure_insights

Query: kubernetes_cluster_rbac_disabled_count

Usage

powerpipe query azure_insights.query.kubernetes_cluster_rbac_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Role-Based Access Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
azure_kubernetes_cluster
where
enable_rbac is null
or not enable_rbac;

Dashboards

The query is used in the dashboards: