Ensure MariaDB servers have public network access enabled set to False

Error: MariaDB servers do not have public network access enabled set to False

Bridgecrew Policy ID: BC_AZR_PUBLIC_1
Checkov Check ID: CKV_AZURE_48
Severity: HIGH

MariaDB servers do not have public network access enabled set to False

Description

Ensure that this DB is no Public on the Internet.

Fix - Buildtime

Terraform

  • Resources: azurerm_mariadb_server
  • Argument: public_network_access_enabled is set to False.
resource "azurerm_mariadb_server" "example" {
   ...
+  public_network_access_enabled = false

}

Did this page help you?