CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
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 applicationsThe PostgreSQL database instance flag 'log_min_error_statement' controls which message levels are written to the server log. Valid values include INFO, WARNING (default), and ERROR. If this flag is not set to the correct value, important messages useful for troubleshooting may not be logged.
Set the settings.database_flags.name
attribute to "log_min_error_statement
and settings.database_flags.value
attribute to "info"
, "warning"
, or "error"
.
resource "google_sql_database_instance" "default" {
name = "all-valid-flags-pg-instance"
database_version = "POSTGRES_11"
region = "us-east1"
deletion_protection = false
settings {
tier = "db-f1-micro"
database_flags {
name = "log_min_error_statement"
value = "error"
}
}
}