bridgecrewio / checkov

Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
https://www.checkov.io/
Apache License 2.0
6.72k stars 1.08k forks source link

Network policy enforcement is built into GKE Dataplane V2 #6357

Open brettcurtis opened 1 month ago

brettcurtis commented 1 month ago

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):

Additional context None