-
-
Notifications
You must be signed in to change notification settings - Fork 402
Monitoring tools exclusion #1915
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
Monitoring tools exclusion #1915
Conversation
Just a quick note: as I see in v3.4/dev branch we use |
@airween Nice spotted. We have all our |
This is how we're doing now, or isn't it?
I just thought the
I agree - but open a PR for what? :) |
No, all our ver actions are still at 3.3.0. Right now in the https://github.com/coreruleset/coreruleset/wiki/Release-Procedure we bump all versions before the next release. I think it would be better to bump them after a release. (And also check if they're correct before the next release). |
Ah, thanks for pointing that. I think we must discuss it at the next monthly chat. Note, I checked the wiki page above, and found an another interesting part: Update copyright in all the files if there is a new year I think we should discuss about another context of copyrights. |
Here is full UA for Zabbix version 5.0.4 using key and for |
idk if I get it well, the partial match "Zabbix" didn't match "Zabbix 5.0.4"? (maybe I missed something, but anyone knows what's wrong with the PR test?) |
It will match, sorry i confused you. I just wanted to be precise so i pointed out that the same version of Zabbix will use different UA while using different methods of accessing HTTP resource. |
ahh I see! Indeed it's a good point, I'm wondering: what if a user wants to allow a specific UA and not match something in it? Should I edit the matching UA rule (901480) replacing pm with rx operator? I mean, by doing it a user could set the |
I would keep the
|
In case you want to allow using very specific UAs, then i suggest creating two methods of specifying UA: pm and also rx (using two different configuration rules). |
OK. So this has been lingering too long with failing tests. I'm sorry to announce that both, the We usually do All in all, I do not see a clear way forward and will close this PR. Mainly because I want to clean up the queue. Feel free to re-submit @theMiddleBlue when you have a solution. Thank you for the nice idea, it would have been so sweet if this would work. |
Rule Logic:
A user must uncomment SecAction 900980 from crs-setup.conf to enable the exclusion. The SecAction has 2 variables that users must configure:
The exclusion occurs only for GET and HEAD methods, and it removes the following rules: