How to set the exclusions for headers and header values

Nupur Patel 0 Reputation points
2024-06-18T18:35:28.0266667+00:00

Wanna make exclusion for request headers and its values
how to check due to what reason that request is being blocked

Azure Web Application Firewall
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 24,836 Reputation points Microsoft Employee
    2024-06-18T22:38:16.3566667+00:00

    @Nupur Patel

    Thank you for reaching out.

    I understand you need to create an exclusion rule in your WAF for headers and header values

    Can you let me know if you have a WAF associated with an Azure Application Gateway or Azure Front Door?

    From your question it is not clear whether you have a WAF associated with an Azure Application Gateway or Azure Front Door. Either way the process below will remain the same for both of them

    • Enable diagnostics logging for your WAF to understand which particular rule blocked the request and what was the user-friendly message for the triggering event. Follow these links for App Gateway or Front Door
    • WAF rule log will showcase the rule ID and the message on why the WAF is blocked the request.
    • Follow Exclusion rule documentation here for Front Door and apply the exclusion based on HeaderValue or use RequestHeaderValues match variable for App Gateway

    Hope this helps! Please let me know if you have any additional questions. Thank you!

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments