turbot/gcp_insights

Query: compute_network_is_default

Usage

powerpipe query gcp_insights.query.compute_network_is_default

Steampipe Tables

SQL

select
'Default Network' as label,
case when name <> 'default' then 'ok' else 'Default Network' end as value,
case when name <> 'default' then 'ok' else 'alert' end as type
from
gcp_compute_network
where
id = (split_part($1, '/', 1))::bigint
and project = split_part($1, '/', 2);

Dashboards

The query is used in the dashboards: