turbot/gcp_insights

Query: kubernetes_cluster_encryption_status

Usage

powerpipe query gcp_insights.query.kubernetes_cluster_encryption_status

Steampipe Tables

SQL

select
encryption_status,
count(*)
from
(
select
name,
case
when database_encryption_key_name = '' then 'disabled'
else 'enabled'
end encryption_status
from
gcp_kubernetes_cluster
) as c
group by
encryption_status
order by
encryption_status;

Dashboards

The query is used in the dashboards: