Add payload-only-classtypes filtering to suricata conf to filter payl…#14682
Closed
Aboussejra wants to merge 1 commit intoOISF:mainfrom
Closed
Add payload-only-classtypes filtering to suricata conf to filter payl…#14682Aboussejra wants to merge 1 commit intoOISF:mainfrom
Aboussejra wants to merge 1 commit intoOISF:mainfrom
Conversation
…oad dump by classtype if needed
2 tasks
Contributor
|
@Aboussejra could you check why CI is red ? |
Author
|
I think I understood the problem: I missfilled the command field of the https://github.com/OISF/suricata-verify/pull/2895/changes |
Contributor
Maybe just rebase and resubmit a new PR |
Author
|
Understood, given the fact only the suricata-verify MR changed, I did not thought I had to resubmit a v3 MR for but here it is: #14726 |
Author
|
v3 MR #14726 |
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:
Provide values to any of the below to override the defaults.
link to the pull request in the respective
_BRANCHvariable.SV_REPO=
SV_BRANCH=OISF/suricata-verify#2895
SU_REPO=
SU_BRANCH=