skip to Main Content

I have created the following resources in Azure portal:

  1. Function App (API to read data from BD and retrieves responses)
  2. API Management service (to handle basic API security)
  3. Front Door and CDN profiles (to make API security better)
  4. Front Door WAF policy (to apply specific security rules)

Question is how to apply created own WAF policy (item 4) into Front door (item 3) as WAF policy cannot be selected in Front door->Front Door and CDN profiles? It says ‘No existing policies in the current subscription’.

Pease see two print screens:

enter image description here

enter image description here

I tried to create Front Door in different settings/offerings but no success.

2

Answers


  1. Chosen as BEST ANSWER

    With help of Azure support team, the following solution has been found. When creating Web Application Firewall resource in Azure, the following settings needs to be applied:

    • Basic tab:
      • policy for: Classic !!!VERY IMPORTANT!!!
      • policy name: choose some name
      • policy mode: Prevention
    • Managed rules: select your preferred Default rule set
    • Association:
      • click Associate a Front Door profile and select FD you created earlier i.e. some-name.azurefd.net

    That should apply WAF policy to Front desk.


  2. Check the tier you have selected to add existing WAF Policies are also created in same tier (standard or premium)

    enter image description here

    I have created 4 WAF Policies of different tiers and types:
    enter image description here
    3 Policies belongs to Front Door and are of Classic, Standard and Premium Global Policies.
    1 Policy belongs to Regional (Application Gateway) WAF Policy.

    • Classic Global WAF Policy is visible only in Azure Front Door (Classic) Resource creation.
    • Standard and Premium Global WAF Policies are visible only in Azure FD profiles based on your Tier Selection.

    Updated Answer:

    • Created APIM Service in Premium Tier as a host origin to the FD Profile.

    enter image description here
    Standard FD & Standard WAF Policy:

    enter image description here

    Premium FD Profile with Premium WAF Policy:

    enter image description here

    Using Azure Sponsorship Subscription:

    enter image description here

    enter image description here

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search