-
-
Notifications
You must be signed in to change notification settings - Fork 402
Sandbox is wrong about in which PL a payload would be detected. #2450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for your report. |
This issue has been open 120 days with no activity. Remove the stale label or comment, or this will be closed in 14 days |
@mirkodziadzka-avi From what I see in the code, this depends on parsing the result of rules 980XXX and nginx is not logging those. |
You can see the difference using:
Those are the actual json logs from modsec 🤷 |
@fzip I do not understand your comment. Even with apache, the log is
where the last line is wrong. CRS would not detect this payload in PL 1 which can be seen by
I agree, that this is a cosmetic problem (as mentioned in the first line of the ticket description) |
Well, let me try to find out if that can be solved. From the comment on the txt-output, I thought the only way of getting it was from the 98XX rules. |
But even with 98xxxx in the apache case, it should parse the "0, 5, 0, 0" as PL2, right:
|
Yes, but there is only one function for everything. |
@mirkodziadzka-avi, can you retest now? |
@fzipi Seems to work fine and as expected. Thank You. |
Thanks for filing this! Closing now. |
Describe the bug
More a minor / cosmetic problem.
Sending a request against the sandbox with
results in
I think the last sentence is wrong.
While there is a PL1 rule in the log, it is only the anomaly score rule.
The rule which detects the payload is only in paranoia level 2.
So in PL1, the payload would not be detected.
The text was updated successfully, but these errors were encountered: