-
Notifications
You must be signed in to change notification settings - Fork 1.1k
More decoder testing #424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More decoder testing #424
Conversation
Is this stuff documented anywhere? I'd love to read it if it is, or if you have some notes you can share I don't mind writing the docs. |
No docs but started oRFC so will add them into that pull request. Right now if you are in src and run make test-rules it runs the rule tests. Tests are currently in contrib/ossec-test/tests. Will move away from Python system to ossec-lua soon as it means on less requirement |
I'll wait for the switch before I really get into documenting it then. Thanks! |
That will no change anything around the rule testing format. The ini files will stay so you can look into them and start there if you would like. |
Well since I don't understand what the ini files are ini-ing, I don't think I'll start documenting that today. |
Ok makes sense but here are some details.
|
Awesome info, thanks! Are there options other than "log" at the beginning of the line? |
Nope no other options now. "log \d (pass|fail)" are the line feed into ossec-logtest and then from there the output is checked using ossec-logtest -U (http://ossec-docs.readthedocs.org/en/latest/programs/ossec-logtest.html#cmdoption-ossec-logtest-U) |
No description provided.