Azure Application Gateway Access logs show 403 with ERRORINFO_NO_ERROR

Eric Quist 0 Reputation points
2024-08-02T08:56:16.4966667+00:00

I can see a lot of Application Gateway Access logs (200+ in the last 7 days) that show httpstatuscode_d as 403 and error_info_s as "ERRORINFO_NO_ERROR" when I fire the below query:

AzureDiagnostics
| where httpStatus_d == 403
        and ruleGroup_s !endswith "Bots"
        and httpMethod_s != "HEAD"
        and error_info_s == "ERRORINFO_NO_ERROR"

Our WAFMode_s is PREVENTION so this blocks users and from what I can see most of these request seems to be fully valid and correct requests.

The policy haven't been changed for several months. It is a small percentage of all requests, but still too many to be acceptable for our users. I can't see any 403 responses at all from the backend App Services.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,211 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 49,526 Reputation points Microsoft Employee Moderator
    2024-08-02T10:49:56.66+00:00

    @Eric Quist ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    Technically, this is Firewall log and not Access log.

    • You have to find out what are the rules that are actually getting triggered/matched and the reason why
    • You can check the fields "ruleId", "action" and "details" fields to understand why a particular request was flagged/blocked.
    • Essentially, you have to Tune your WAF according to your application traffic.

    Once you identified all the rules that are blocking and you feel they are false positives, you have three options

    The above methods are specific to your requirements and use case.

    Hope this helps.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.