Control: GKE clusters should not use default network
Description
This control ensures that GKE clusters does not use default network.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.kubernetes_cluster_no_default_networkSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.kubernetes_cluster_no_default_network --shareSQL
This control uses a named query:
select  self_link resource,  case    when network = 'default' then 'alarm'    else 'ok'  end as status,  case   when network = 'default' then title || ' using default network.'    else title || ' not using default network.'  end as reason    , location as location, project as projectfrom  gcp_kubernetes_cluster;