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 applicationsUsers might be able to see database names without having been explicitly authorized to access them.
Set a settings.database_flags block, with name as skip_show_database and value as on.
Example configuration:
resource "google_sql_database_instance" "allowed" {
name = "allowed-instance"
database_version = "MYSQL_8_0"
region = "us-central1"
settings {
tier = "db-f1-micro"
database_flags {
name = "skip_show_database"
value = "on"
}
database_flags {
name = "performance_schema"
value = "off"
}
}
}