Add logtest modules to framework#5870
Merged
davidjiglesias merged 144 commits intofeature/5337-logtest-enhancementfrom Oct 22, 2020
Merged
Add logtest modules to framework#5870davidjiglesias merged 144 commits intofeature/5337-logtest-enhancementfrom
davidjiglesias merged 144 commits intofeature/5337-logtest-enhancementfrom
Conversation
Declare main functions and structures for wazuh-logtest
… wazuh-logtest development.
… of logtest configuration
- Change type of w_logtest_conf.enabled to boolean - Change warning messages to error messages in Read_Logtest - Change debug2 messages to warning messages in Read_Logtest - Change type of w_logtest_conf.threads and w_logtest_conf.max_sessions to int
- Document accumulator.h, logtest.h and fts.h
- Modify decoders and cdb list flow to work with wazuh-logtest - Document the CDB list, rules list, and decoders list
* Remove errors and warnings Remove merror and mwarn from ReadDecodeXML, Rules_OP_ReadRules and other functions for internal use, instead, errors are returned by parameters
* Implement the logs processing in wazuh-logtest
* Fix to wazuh-logtest to support socket header
…-logtest-framework
…-logtest-framework
…-logtest-framework
1fe0f87 to
18a502c
Compare
…-logtest-framework
davidjiglesias
requested changes
Oct 22, 2020
davidjiglesias
approved these changes
Oct 22, 2020
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.
Hello team, this closes #5590 .
This PR adds new modules to use the logtest tool from the framework. The new logtest endpoints will use these modules.
It includes the addition of a new action/resource to RBAC and new unit tests for these modules.
You can see examples of the new functions here: #5590 (comment)
Tests results
Regards.