turbot/gcp_insights

Query: compute_subnetwork_is_default

Usage

powerpipe query gcp_insights.query.compute_subnetwork_is_default

Steampipe Tables

SQL

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

Params

ArgsNameDefaultDescriptionVariable
$1id

    Dashboards

    The query is used in the dashboards: