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


By ensuring that your MySQL servers is not public, you can help protect your data from unauthorized access or tampering. Public MySQL servers are accessible over the internet, which can make them vulnerable to external threats such as hackers or malware. By making it private, you can help ensure that only authorized users can access the data.

Fix - Buildtime


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