Ensure My SQL server disables public network access

Error: My SQL server enables public network access

Bridgecrew Policy ID: BC_AZR_NETWORKING_44
Checkov Check ID: CKV_AZURE_90
Severity: LOW

My SQL server enables public network access

Description

TBA

Fix - Buildtime

Terraform

  • Resource: azurerm_mysql_server
  • Argument: public_network_access_enabled
resource "azurerm_mysql_server" "example" {
              ...
 +            public_network_access_enabled     = false
              ...
            }

Did this page help you?