Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ resource "google_sql_database_instance" "main" {
user_labels = var.md_metadata.default_tags

ip_configuration {
require_ssl = true
require_ssl = false
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
require_ssl = false
require_ssl = true
HIGH   Ensure incoming connections to Cloud SQL database instances use SSL
    Resource: google_sql_database_instance.main | ID: BC_GCP_GENERAL_5

Description

Cloud SQL is a fully managed relational database service for MySQL, PostgreSQL and SQL Server. It offers data encryption at rest and in transit, Private connectivity with VPC and user-controlled network access with firewall protection. Cloud SQL creates a server certificate automatically when a new instance is created.

We recommend you enforce all connections to use SSL/TLS.

Benchmarks

  • CIS GCP V1.1 6.4

ipv4_enabled = false
private_network = local.network_id
}
Expand Down