turbot/azure_insights

Query: kubernetes_cluster_disk_encryption_status

Usage

powerpipe query azure_insights.query.kubernetes_cluster_disk_encryption_status

Steampipe Tables

SQL

select
'Disk Encryption' as label,
case when disk_encryption_set_id is null then 'Disabled' else 'Enabled' end as value,
case when disk_encryption_set_id is null then 'alert' else 'ok' end as type
from
azure_kubernetes_cluster
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: