Azure WAF

How to create a Web Application Firewall policy?

Steps to create a Web Application Firewall Policy.

First, create a basic WAF policy with a managed Default Rule Set (DRS) using the portal.

  1. On the top left-hand side of the screen, select Create a resource>search for WAF>select Web application firewall > select Create.
  2. In the Basics tab of the Create a WAF policy page, enter or select the following information, accept the defaults for the remaining settings, and then select Review + create:

Setting

Value

Policy For

Select Azure CDN (Preview).

Subscription

Select your Front Door subscription name.

Resource group

Select your Front Door resource group name.

Policy name

Enter a unique name for your WAF policy.

TABLE 1

 

Create a WAF policy

 

  1. In the Association tab of the Create a WAF policy page, select Add CDN Endpoint, enter the following settings, and then select Add:

 

Setting

Value

CDN Profile

Select your CDN profile name.

Endpoint

Select the name of your endpoint, then select Add.

TABLE 2

 

  1. Select Review + create, then select Create.