turbot/azure_insights

Query: compute_disk_encryption_sets_for_kubernetes_cluster

Usage

powerpipe query azure_insights.query.compute_disk_encryption_sets_for_kubernetes_cluster

SQL

select
lower(e.id) as encryption_set_id
from
azure_kubernetes_cluster c,
azure_compute_disk_encryption_set e
where
lower(c.disk_encryption_set_id) = lower(e.id)
and lower(c.id) = $1
and c.subscription_id = split_part($1, '/', 3);