Ensure SQL server disables public network access

Error: SQL Server is enabled for public network access

Bridgecrew Policy ID: BC_AZR_NETWORKING_34
Checkov Check ID: CKV_AZURE_113
Severity: LOW

SQL Server is enabled for public network access

Description

TBA

Fix - Buildtime

Terraform

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

Did this page help you?