turbot/gcp_insights

Query: compute_networks_for_kubernetes_cluster

Usage

powerpipe query gcp_insights.query.compute_networks_for_kubernetes_cluster

SQL

select
n.id::text || '/' || n.project as network_id
from
gcp_kubernetes_cluster c,
gcp_compute_network n
where
c.id = split_part($1, '/', 1)
and c.network = n.name
and c.project = n.project;