Skip to content

Commit

Permalink
Tests and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sifex committed Feb 16, 2025
1 parent 2282b52 commit 2c0009b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,16 @@ def test_regression_github_issue_321_brackets(
]


@pytest.mark.skip("Decision on whether filters should support selection confusion is pending")
def test_regression_github_issue_321_selection_confusion(
rule_collection, test_backend, sigma_filter
):
"""
This test targets a weird quirk of how we do Filtering, where the filter can just use a
selection condition as a filter condition. It's probably not desired behaviour, as you'd
rarely want to filter on a selection condition, and it implies that every rule referenced
also has to have a selection condition.
"""
sigma_filter.filter = SigmaGlobalFilter.from_dict(
{
"rules": [
Expand Down

0 comments on commit 2c0009b

Please sign in to comment.