-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Support for reading rules from standard input #21
Comments
I'm unsure of the roadmap of the project, but this can be a potential I would assume this would be for both the Checking the current functionality with some debug print statements:
(sigma-cli-py3.11) ❯❯❯❯ cat rules/windows/process_creation/certutil_susp_download.yml | sigma check
DEBUG: input: ()
Parsing Sigma rules [####################################] 100%
Checking Sigma rules [####################################] 100%
=== Summary ===
Found 0 errors, 0 condition errors and 0 issues.
No rule errors found.
No condition errors found.
No validation issues found.
|
Hi!
At least it's not on my todo list, but feel free to implement 😉 Click by itself supports this behavior, but I've chosen a different path because usually a directory is given to the CLI with the intention to convert its whole content. The |
Thanks @thomaspatzke, I'll take a shot at this one and add some notes. Notably it appears that some modifications will have to be made where both the input or the stdin |
Implemented! It will be contained in the next release. |
Man, you're quick! Do you classify as human? :D Thank you for your work! |
Thanks @thomaspatzke |
Just released in v0.7.3 |
Hi,
Are there any plans to add support for reading rules from standard input?
I have a wrapper built in nodejs that is currently using
sigmac
for rule conversionThe text was updated successfully, but these errors were encountered: