Skip to content

[v2.2.0] Updates filters with the any rule spec#202

Merged
nasbench merged 6 commits intoSigmaHQ:v2.2.0from
sifex:filters-explicit-rules
Dec 15, 2025
Merged

[v2.2.0] Updates filters with the any rule spec#202
nasbench merged 6 commits intoSigmaHQ:v2.2.0from
sifex:filters-explicit-rules

Conversation

@sifex
Copy link
Copy Markdown
Contributor

@sifex sifex commented Dec 12, 2025

This pull request updates the Sigma Filters Specification to version 2.2.0, introducing new functionality for the rules attribute in filters. The main enhancement is the ability to use the string value any to apply filters more broadly to Sigma rules matching a specified logsource. The documentation is updated accordingly, with new examples and a revision to the version history.

Key changes:

Specification enhancements:

  • The rules attribute in a filter can now be set to the string any, allowing the filter to apply to all Sigma rules matching the specified logsource.
  • Added documentation and YAML examples demonstrating how to use any with the rules attribute for broader filter application.

Documentation updates:

  • Bumped the specification version to 2.2.0 and updated the release date.
  • Updated the version history to reflect the new feature in v2.2.0.

Added support for `any` and `all` string values in the `rules` attribute
to match all rules with the specified logsource. Updated documentation
and examples accordingly.
@sifex sifex changed the title [v2.2.0] Updates filters with the `any [v2.2.0] Updates filters with the any or all rule spec Dec 12, 2025
@nasbench nasbench self-assigned this Dec 12, 2025
@nasbench nasbench added documentation Improvements or additions to documentation v2.2.0 labels Dec 12, 2025
Copy link
Copy Markdown
Member

@frack113 frack113 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread specification/sigma-filters-specification.md Outdated
Comment thread specification/sigma-filters-specification.md Outdated
@frack113 frack113 moved this to In review in Specification V2.2 Dec 13, 2025
@sifex sifex changed the title [v2.2.0] Updates filters with the any or all rule spec [v2.2.0] Updates filters with the any rule spec Dec 13, 2025
@phantinuss
Copy link
Copy Markdown
Collaborator

phantinuss commented Dec 15, 2025

MR pedantic here. Shouldn't there exist a SEP for this as well?

@nasbench
Copy link
Copy Markdown
Member

MR pedantic here. Shouldn't there exist a SEP for this as well?

Technically yes. But since the original issue was before the introduction of SEP and was agreed on. I did not want to enforce it here.

@nasbench nasbench linked an issue Dec 15, 2025 that may be closed by this pull request
@nasbench
Copy link
Copy Markdown
Member

See #133

@nasbench nasbench merged commit 10bd96c into SigmaHQ:v2.2.0 Dec 15, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Specification V2.2 Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation v2.2.0

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Generic Filter Support in V2

4 participants