Skip to content
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

Specify directory for --pipeline option? #42

Open
Res260 opened this issue Feb 1, 2024 · 1 comment
Open

Specify directory for --pipeline option? #42

Res260 opened this issue Feb 1, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Res260
Copy link
Contributor

Res260 commented Feb 1, 2024

Currently, it is not supported to use sigma convert --pipeline ./my_pipelines_directory [...]
We're starting to use processing pipelines internally and I wanted to segment processing pipelines by files in a same folder.
Now, when converting, I need to specify manually all the pipelines files, but I think it would be cleaner to be able to specify a directory and that all the YAML pipelines definitions are used in the conversion.

Thoughts?

@thomaspatzke thomaspatzke added enhancement New feature or request good first issue Good for newcomers labels Feb 9, 2024
@thomaspatzke
Copy link
Member

Sounds reasonable to me! I marked it as enhancement. Because order can matter in pipelines if multiple share the same priority, I propose to use the default order from Python sorted() function that should be a quite natural choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants