For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

SRM's avatar
SRM
Icon for Altocumulus rankAltocumulus
Nov 26, 2025

Illegal Request in Learning Suggestion for 200 OK response

Dears, I want to know the reason why this suggestion is showing an illegal request status even though response code is 200 OK. Is it because multiple violations triggered? The policy is in transparent mode and I am just verifying the suggestions. Can someone please provide an expert advise?

5 Replies

  • SRM's avatar
    SRM
    Icon for Altocumulus rankAltocumulus

    Dear Shyy,

    Thanks for your response.
    My concern is not about why the request is not being blocked. The service is in transparent mode right now  and these are just suggestions. I am curious to know why this suggestion flagged the request as illegal despite having the repsonse code 200 OK. Is it because the request triggered violations such as Modified Domain Cookie, Illegal Empty Parameter Value, Illegal Request Length, or JSON not complying with settings? Injeyan_Kostas​  any expert advice here?

  • Hi,

     

    Yes — a request can show Illegal even though the backend returned 200 OK because the WAF detected one or more violations, and Response Code has no influence on the violation status.

    The “Illegal” flag is based only on WAF policy evaluation, not on the application’s response.

     BR
    Aswin

  • 200 OK is HTTP layer status.
    It does not confirm whether the http payload is ok or not.

    if you havent done it, WAF learning should be done only for traffic from legitimate testers, not live user traffic.
    you can set vserver with waf learning mode to be used by the legitimate testers.
    after learning and policy modification is done, apply the resulted waf policy to vserver of live traffic.