turbot/gcp_compliance

Query: compute_network_contains_no_legacy_network

Usage

powerpipe query gcp_compliance.query.compute_network_contains_no_legacy_network

Steampipe Tables

SQL

select
self_link resource,
case
when ipv4_range is not null then 'alarm'
else 'ok'
end as status,
case
when ipv4_range is not null
then title || ' is a legacy network.'
else title || ' not a legacy network.'
end as reason
, project as project
from
gcp_compute_network;

Controls

The query is being used by the following controls: