-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4286 from wazuh/4281-add-analysisd-decoder-test
Add an integration test to check the wazuh-analysisd's decoder parser
- Loading branch information
Showing
2 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
tests/integration/test_logtest/test_invalid_rule_decoders_syntax/data/custom_decoder_11.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- Test: invalid regex offset--> | ||
<decoder name="sudo-fields"> | ||
<parent>sudo</parent> | ||
<regex offset="after_regex">(\S+)</regex> | ||
<order>boom</order> | ||
</decoder> |
This file contains 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