add crowdsecurity/base-config to CRS collections for proper parsing of non URL-encoded bodies#1745
Merged
add crowdsecurity/base-config to CRS collections for proper parsing of non URL-encoded bodies#1745
Conversation
…f non URL-encoded bodies
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the crowdsecurity/base-config appsec rule to the CRS collections/configs so request bodies are parsed with the appropriate processor for non-application/x-www-form-urlencoded content types.
Changes:
- Include
crowdsecurity/base-configin CRS collections’appsec-ruleslists. - Load
crowdsecurity/base-configin both out-of-band (crs) and in-band (crs-inband) appsec configs before CRS rules.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| collections/crowdsecurity/appsec-crs.yaml | Ensures base-config is installed alongside CRS when enabling the non-blocking CRS collection. |
| collections/crowdsecurity/appsec-crs-inband.yaml | Ensures base-config is installed alongside CRS when enabling the blocking CRS collection. |
| appsec-configs/crowdsecurity/crs.yaml | Loads base-config in out-of-band rules to set request body processors before CRS evaluation. |
| appsec-configs/crowdsecurity/crs-inband.yaml | Loads base-config in in-band rules to set request body processors before CRS evaluation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
buixor
approved these changes
Mar 31, 2026
blotus
added a commit
that referenced
this pull request
Apr 16, 2026
…f non URL-encoded bodies (#1745)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes crowdsecurity/crowdsec#4384