turbot/gcp_compliance

Query: kubernetes_cluster_use_ip_aliases

Usage

powerpipe query gcp_compliance.query.kubernetes_cluster_use_ip_aliases

Steampipe Tables

SQL

select
self_link resource,
case
when ip_allocation_policy ->> 'useIpAliases' = 'true' then 'ok'
else 'alarm'
end as status,
case
when ip_allocation_policy ->> 'useIpAliases' = 'true' then title || ' Alias IP ranges enabled.'
else title || ' alias IP ranges disabled.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Controls

The query is being used by the following controls: