Ensure Azure application gateway has WAF enabled

Error: Azure application gateway does not have WAF enabled

Bridgecrew Policy ID: BC_AZR_NETWORKING_37
Checkov Check ID: CKV_AZURE_120
Severity: LOW

Azure application gateway does not have WAF enabled

Description

TBA. Web application firewall (WAF).

Fix - Buildtime

Terraform

  • Resource: azurerm_application_gateway
  • Argument: waf_configuration.enabled
resource "azurerm_application_gateway" "network" {
              ...
+             waf_configuration {
+               enabled = true
              }
            }

Did this page help you?