turbot/gcp_compliance

Query: kubernetes_cluster_private_cluster_config_enabled

Usage

powerpipe query gcp_compliance.query.kubernetes_cluster_private_cluster_config_enabled

Steampipe Tables

SQL

select
self_link resource,
case
when private_cluster_config is null then 'alarm'
else 'ok'
end as status,
case
when private_cluster_config is null then title || ' private cluster config disabled.'
else title || ' private cluster config enabled.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Controls

The query is being used by the following controls: