shisho-dojo-logo
AWSGCPAzureAbout Us
signup-button
Top / Google Cloud Platform / Google Cloud SQL

Cloud SQL

11 examples and best practices for Google Cloud SQL, including Google Cloud SQL Database and Google Cloud SQL Database Instance.

terraform-logo

Review your .tf file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Database
google_sql_database (1 example case)
Database Instance
google_sql_database_instance (5 example cases)
12 best security practices
  1. Ensure to disable local_infile setting in MySQL
  2. Ensure to enable automated backups for the recovery to prevent any data-losses
  3. Ensure to disable cross-database ownership chaining
  4. Ensure to disable contained database authentication
  5. Ensure to enable SSL connections to a SQL database instance
  6. Ensure to enable checkpoints logging in PostgreSQL
  7. Ensure to enable logging connections in PostgreSQL
  8. Ensure to enable logging disconnections in PostgreSQL
  9. Ensure to enable temporary file logging should for all temporary files.
  10. Ensure Cloud SQL database instances are not publicly exposed
  11. Ensure to configure the error log severity in PostgreSQL
  12. Ensure to enable logging of lock waits in PostgreSQL
Source Representation Instance
google_sql_source_representation_instance (0 example case)
SSL Cert
google_sql_ssl_cert (5 example cases)
User
google_sql_user (0 example case)
shisho-cloud-logo

Build a secure Infrastructure-as-Code

Shisho Cloud helps you fix security issues in your infrastructure as code with auto-generated patches.

scan-now-button
About Us
Contact Us
Docs
© 2021 Flatt Security