turbot/gcp_compliance

Query: kubernetes_cluster_database_encryption_enabled

Usage

powerpipe query gcp_compliance.query.kubernetes_cluster_database_encryption_enabled

Steampipe Tables

SQL

select
self_link resource,
case
when database_encryption_state <> 'ENCRYPTED' then 'alarm'
else 'ok'
end as status,
case
when database_encryption_state <> 'ENCRYPTED' then title || ' database encryption disabled.'
else title || ' database encryption enabled.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Controls

The query is being used by the following controls: