The default network for a project should be deleted Affecting Network service in Google


Severity

0.0
medium
0
10
Severity Framework
Snyk CCSS
Rule category
Network/ Network

Is your environment 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-ControlsCIS-GoogleCSA-CCMISO-27001NIST-800-53PCI-DSSSOC-2
  • Snyk IDSNYK-CC-00387
  • creditSnyk Research Team

Description

The default network for a project should be deleted. The default network for a project automatically generates the insecure firewall rules default-allow-internal, default-allow-ssh, default-allow-rdp, and default-allow-icmp. These rules can't be configured to allow firewall rule logging. Instead, it is recommended to create a new network and delete the default one.

How to fix?

The default network for a project should be deleted.

Example configuration:

resource "google_compute_network" "allowed" {
  name = "test-network"
  description = "This is a test network"
}