wazuh / wazuh-ruleset

Wazuh - Ruleset
https://wazuh.com
416 stars 202 forks source link

Improve rules-testing #352

Open Lopuiz opened 5 years ago

Lopuiz commented 5 years ago
Working branch
https://github.com/wazuh/wazuh-ruleset/compare/3.10...improve-rules-testing-352

Have to improve unit tests. To do this, we have to add new logs in following files:

Lopuiz commented 5 years ago

Done: I generated all test files and I added all logs that I had. To do this I’ve created a Python’s script. Some rules files are not following the standard so it was not possible to execute the script. To do: Now, we have to generate logs for all rules

Lopuiz commented 5 years ago

Summary 13\5\19: I generate logs for all postfix rules.

Summary 14\5\19: It's necessary to improve the script to check rules that have tag frequency. I have researched about subprocess python's module.

Lopuiz commented 5 years ago

Summary 15\5\19:

Lopuiz commented 5 years ago

Summary 22\5\19: