turbot/gcp_insights

Query: compute_firewalls_for_compute_instance_group

Usage

powerpipe query gcp_insights.query.compute_firewalls_for_compute_instance_group

SQL

select
f.id::text as firewall_id
from
gcp_compute_instance_group g,
gcp_compute_firewall f
where
g.network = f.network
and g.id = (split_part($1, '/', 1))::bigint
and g.project = split_part($1, '/', 2);