waf: add SkipProcessing() helper - #4667
Conversation
|
@blotus: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
|
@blotus: There are no area labels on this PR. You can add as many areas as you see fit.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
|
/kind enhancement |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #4667 +/- ##
=======================================
Coverage 64.71% 64.72%
=======================================
Files 522 522
Lines 39862 39913 +51
=======================================
+ Hits 25798 25834 +36
- Misses 11663 11676 +13
- Partials 2401 2403 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Add a new
SkipProcessing(reason)helper to return early before evaluating any rules, without dropping the request (counterpart ofDropRequest(reason)).If
SkipProcessing()andDropRequest()are called in the same reques, the 1st one will win.