Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
Describe the issue
Network policy enforcement is built into GKE Dataplane V2. You do not need to enable network policy enforcement in clusters that use GKE Dataplane V2.
This check: CKV_GCP_12: "Ensure Network Policy is enabled on Kubernetes Engine Clusters"
Should pass if:
Examples
datapath_provider = "ADVANCED_DATAPATH"
Version (please complete the following information):
Describe the issue Network policy enforcement is built into GKE Dataplane V2. You do not need to enable network policy enforcement in clusters that use GKE Dataplane V2.
This check: CKV_GCP_12: "Ensure Network Policy is enabled on Kubernetes Engine Clusters"
Should pass if:
Examples
Version (please complete the following information):
Additional context None