Cortex CloudApplication Security
GCP Firewall with Inbound rule overly permissive to All Traffic misconfiguration detected in code
GCP Firewall with Inbound rule overly permissive to All Traffic misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC2_GCP_12
Category - Subcategory
Public Exposure - Ingress Controls
Provider
GCP
Severity
LOW
Framework
Terraform
Mapped CSPM/KSPM Rule
33142dd4-733b-44d1-8320-8ccacf39adf9
Impact
This rule identifies GCP Firewall rules which allows inbound traffic on all protocols from public internet. Doing so, may allow a bad actor to brute force their way into the system and potentially get access to the entire network.
How to Fix
[source,go]
pass
resource "google_compute_firewall" "compute-firewall-ok-1" { name = "compute-firewall-ok-1" network = google_compute_network.example.name
deny { protocol = "all" } source_ranges = ["0.0.0.0/0"] disabled = false }
PreviousGCP Cloud Function HTTP trigger is not secured misconfiguration detected in code
NextGoogle Cloud Platform network is not ensured to define a firewall misconfiguration detected in code
Last updated
Was this helpful?
