Ensure My SQL server enables Threat Detection policy

Error: My SQL server does not enable Threat Detection policy

Bridgecrew Policy ID: BC_AZR_GENERAL_44
Checkov Check ID: CKV_AZURE_127
Severity: LOW

My SQL server does not enable Threat Detection policy

Description

TBA

Fix - Buildtime

Terraform

  • Resource: azurerm_mysql_server
  • Argument: threat_detection_policy.enabled
resource "azurerm_mysql_server" "example" {
              ... 
+             threat_detection_policy {
+                 enabled = true
              }
            }

Did this page help you?