0.0
low
0
10
    Severity Framework Snyk CCSS
    Rule category Containers / APIs

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls
  • Snyk ID SNYK-CC-00412
  • credit Snyk Research Team

Description

GCP will not perform anti-spoofing checks against traffic.

How to fix?

Set ip_allocation_policy attribute with dedicated IP ranges.

Example Configuration

resource "google_container_cluster" "allowed" {
  name                     = "my-gke-cluster412"
  location                 = "us-central1-f"
  project                  = "test-project"
  remove_default_node_pool = true
  initial_node_count       = 1
  ip_allocation_policy {
  }
}