turbot/steampipe-mod-gcp-compliance

Control: GKE clusters kubernetes alpha should be enabled

Description

This control ensures that GKE clusters kubernetes alpha is enabled.

Usage

Run the control in your terminal:

powerpipe control run gcp_compliance.control.kubernetes_cluster_kubernetes_alpha_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run gcp_compliance.control.kubernetes_cluster_kubernetes_alpha_enabled --share

SQL

This control uses a named query:

select
self_link resource,
case
when enable_kubernetes_alpha then 'ok'
else 'alarm'
end as status,
case
when enable_kubernetes_alpha then title || ' kubernetes alpha enabled.'
else title || ' kubernetes alpha disabled.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Tags