Repository navigation
Support pySigma 2.0 - #40
Draft
cristianchiriac wants to merge 1 commit into
Draft
cristianchiriac wants to merge 1 commit into
cristianchiriac wants to merge 1 commit into
Conversation
pySigma 2.0.0 was released on 2026-10-04. Require pysigma ^2.0.0 and refresh poetry.lock. pySigma 2.0 requires Python 3.11, so raise the Python requirement and drop 3.10 from the test matrix and the README. HashesFieldsDetectionItemTransformation now strips wildcards from hash values (SigmaHQ/pySigma 44d9ba0), so a Hashes|contains value converts to an exact hash match. Update the expected query in test_logpoint_windows_hashes_duplicates.
Contributor
Author
|
Update: the red CI here is not caused by this change. pySigma 2.0.0 turned Correction to the description above: my local runs that passed used a non-editable install of this backend ( |
cristianchiriac
marked this pull request as draft
October 5, 2026 16:31
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pySigma 2.0.0 was released on 2026-10-04. This backend currently requires
pysigma = "^1.4.0", so it can't be installed alongside 2.0.Changes
pyproject.toml:pysigma = "^2.0.0".poetry.lockwas regenerated withpoetry lock. The resolved changes are pysigma 1.4.0 → 2.0.0, the newgoogle-re2dependency, packaging 26.2 → 26.3, and removal of the 3.10-onlyexceptiongroup/tomli.python = "^3.11". 3.10 is removed from the test matrix and the README.test_logpoint_windows_hashes_duplicates:HashesFieldsDetectionItemTransformationnow strips wildcards from hash values (SigmaHQ/pySigma@44d9ba0).Hashes|contains: 'MD5=…'therefore converts tohash="…"instead ofhash="…*". The test expected the old trailing*; it now expects exact hash matches, the same as themd5:/sha1:selection in the same rule.Testing: after
poetry installfrom the new lock (pySigma 2.0.0, Python 3.11),pytestgives 54 passed. Without the test change, onlytest_logpoint_windows_hashes_duplicatesfails. It also fails on pySigma 1.5.1, so any version newer than the current lock needs this update.