Skip to content

Introduce analyze command to extract field names#74

Merged
thomaspatzke merged 2 commits intoSigmaHQ:mainfrom
kelnage:analyze-field-names-rule
Nov 13, 2025
Merged

Introduce analyze command to extract field names#74
thomaspatzke merged 2 commits intoSigmaHQ:mainfrom
kelnage:analyze-field-names-rule

Conversation

@kelnage
Copy link
Copy Markdown
Contributor

@kelnage kelnage commented Oct 28, 2025

When working with converting large numbers of Sigma rules, being able to check whether a query's results contains the fields that are searched for in the converted rule is integral to validating the query will work correctly.

This PR introduces a new analyze command, fields which is provided a backend, any number of pipelines, and Sigma files, and returns a list of unique fields that appear after the pipeline transformations are taken into account.

When working with converting large numbers of Sigma rules, being
able to check whether a query's results contains the fields that are
searched for in the converted rule is integral to validating the query
will work correctly. This introduces a new analyze command, `fields`
which is provided a backend, any number of pipelines, and Sigma files,
and returns a list of unique fields that appear after the pipeline
transformations are taken into account.
@thomaspatzke
Copy link
Copy Markdown
Member

Cool, very useful!

@thomaspatzke thomaspatzke merged commit bc3ea56 into SigmaHQ:main Nov 13, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants