last sync: 2021-Sep-24 16:09:49 UTC

Azure Policy definition

[Deprecated]: Web Application Firewall should be enabled for Azure Front Door Service or Application Gateway

Name [Deprecated]: Web Application Firewall should be enabled for Azure Front Door Service or Application Gateway
Azure Portal
Id be7ed5c8-2660-4136-8216-e6f3412ba909
Version 1.0.0-deprecated
details on versioning
Category Network
Microsoft docs
Description Requires Web Application Firewall on any Azure Front Door Service or Application Gateway. A Web Application Firewall provides greater security for your other Azure resources.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated True
Effect Default: Deny
Allowed: (Audit, Deny, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2020-07-08 14:28:08 change Previous DisplayName: Web Application Firewall should be enabled for Azure Front Door Service or Application Gateway
2020-06-11 19:46:04 add be7ed5c8-2660-4136-8216-e6f3412ba909
Used in Initiatives none
JSON
{
  "displayName": "[Deprecated]: Web Application Firewall should be enabled for Azure Front Door Service or Application Gateway",
  "policyType": "BuiltIn",
  "mode": "Indexed",
  "description": "Requires Web Application Firewall on any Azure Front Door Service or Application Gateway. A Web Application Firewall provides greater security for your other Azure resources.",
  "metadata": {
    "version": "1.0.0-deprecated",
    "category": "Network",
    "deprecated": true
  },
  "parameters": {
    "effect": {
      "type": "String",
      "metadata": {
        "displayName": "Effect",
        "description": "Enable or disable the execution of the policy"
      },
      "allowedValues": [
        "Audit",
        "Deny",
        "Disabled"
      ],
      "defaultValue": "Deny"
    }
  },
  "policyRule": {
    "if": {
      "anyOf": [
        {
          "allOf": [
            {
              "field": "type",
              "equals": "Microsoft.Network/frontdoors"
            },
            {
              "field": "Microsoft.Network/frontdoors/frontendEndpoints[*].webApplicationFirewallPolicyLink.id",
              "exists": "false"
            }
          ]
        },
        {
          "allOf": [
            {
              "field": "type",
              "equals": "Microsoft.Network/applicationGateways"
            },
            {
              "field": "Microsoft.Network/applicationGateways/webApplicationFirewallConfiguration",
              "exists": "false"
            }
          ]
        }
      ]
    },
    "then": {
      "effect": "[parameters('effect')]"
    }
  }
}