You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is mostly a copy from your blog post - so I would expect the results to work fine. Unfortunately, when applying this to the entire /windows/ folder of Sigma rules, it fails to properly format many of the savedsearches resulting in bad searches of index=winevent without the |regex section properly appended.
So there are two problems:
The backend says it does not support an OR in a regex statement but when encountering them under some scenarios, it doesn't drop the failure code ORing regular expressions is not yet supported by Splunk backend in...
The postprocessing insists on adding an extra newline before the |. I have not tested this with a non-yml pipeline
EDIT
If I modify the yaml to be search = {{ query | replace("\n"," ") }} this works, but only when processing one rule at a time. When I attempt to run this against the entire /windows/ folder, it still fails in the same way.
The text was updated successfully, but these errors were encountered:
This is an adjacent issue (and a less important one) but when the Sigma rule has newlines in the description, they are kept via the postprocessing even though savedsearch format does not appreciate them.
This is the output after using the .yml template:
This is mostly a copy from your blog post - so I would expect the results to work fine. Unfortunately, when applying this to the entire
/windows/
folder of Sigma rules, it fails to properly format many of the savedsearches resulting in bad searches ofindex=winevent
without the|regex
section properly appended.So there are two problems:
ORing regular expressions is not yet supported by Splunk backend in...
|
. I have not tested this with a non-yml pipelineEDIT
If I modify the yaml to be
search = {{ query | replace("\n"," ") }}
this works, but only when processing one rule at a time. When I attempt to run this against the entire/windows/
folder, it still fails in the same way.The text was updated successfully, but these errors were encountered: