Control: Ensure that the default network does not exist in a project
Description
To prevent the use of default network, a project should not have a default network.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.compute_network_contains_no_default_networkSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.compute_network_contains_no_default_network --shareSQL
This control uses a named query:
select  self_link resource,  case    when name = 'default' then 'alarm'    else 'ok'  end as status,  case    when name = 'default'      then title || ' is a default network.'    else title || ' not a default network.'  end as reason  , project as projectfrom  gcp_compute_network;