Google Project Auto Create Network Disabled
- Query id: 59571246-3f62-4965-a96f-c7d97e269351
- Query name: Google Project Auto Create Network Disabled
- Platform: Terraform
- Severity: Medium
- Category: Insecure Configurations
- CWE: 799
- URL: Github
Description¶
Verifies if the Google Project Auto Create Network is Disabled
Documentation
Code samples¶
Code samples with security vulnerabilities¶
Positive test num. 1 - tf file
resource "google_project" "positive1" {
name = "My Project"
project_id = "your-project-id"
org_id = "1234567"
auto_create_network = true
}
resource "google_project" "positive2" {
name = "My Project"
project_id = "your-project-id"
org_id = "1234567"
}