sigma-cli icon indicating copy to clipboard operation
sigma-cli copied to clipboard

Specify directory for --pipeline option?

Open Res260 opened this issue 1 year ago • 1 comments

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?

Res260 avatar Feb 01 '24 00:02 Res260

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.

thomaspatzke avatar Feb 09 '24 23:02 thomaspatzke