Add payload-only-classtypes filtering to suricata conf to filter payl…#14680
Closed
Aboussejra wants to merge 1 commit intoOISF:mainfrom
Closed
Add payload-only-classtypes filtering to suricata conf to filter payl…#14680Aboussejra wants to merge 1 commit intoOISF:mainfrom
Aboussejra wants to merge 1 commit intoOISF:mainfrom
Conversation
6601c45 to
7981bf4
Compare
catenacyber
requested changes
Jan 23, 2026
Contributor
catenacyber
left a comment
There was a problem hiding this comment.
Thanks for the work.
I think this feature needs
- a ticket
- some SV test
- some documentation addition
Author
Sure ! I am working on it ! ticket is here https://redmine.openinfosecfoundation.org/issues/8245 I am currently looking at SV to add a test and will link it as soon as I did it. Understood for the documentation part, I will look into it ! |
Author
|
Suricata-verify MR is at OISF/suricata-verify#2885 |
…oad dump by classtype if needed
7981bf4 to
8e345a2
Compare
Contributor
|
Please open a new v2 PR, see https://docs.suricata.io/en/latest/devguide/contributing/code-submission-process.html#pull-requests |
Author
|
Indeed, opened here: |
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.
…oad dump by classtype if needed
Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.
Contribution style:
https://docs.suricata.io/en/latest/devguide/contributing/contribution-process.html
Our Contribution agreements:
https://suricata.io/about/contribution-agreement/ (note: this is only required once)
Changes (if applicable):
https://redmine.openinfosecfoundation.org/projects/suricata/issues
Link to ticket: https://redmine.openinfosecfoundation.org/issues/8245
Describe changes:
Add a new configuration option to filter payload extraction in EVE JSON alerts based on the rule's classtype.
Currently, when payload: yes is enabled in the alert output, payloads are extracted for all alerts. In some environments we want payloads to be extracted only for specific rules (and we use
classtypesfor that).I envision adding an optional payload-only-classtypes configuration parameter under the alert output type that accepts a list of classtype names.
When configured:
Suricata-verify MR: OISF/suricata-verify#2885
Provide values to any of the below to override the defaults.
link to the pull request in the respective
_BRANCHvariable.SV_REPO=
SV_BRANCH=
SU_REPO=
SU_BRANCH=