Repository navigation
ci(deps): update sigma toolchain (major) - #353
renovate[bot] wants to merge 1 commit into
Conversation
483c197 to
37b436e
Compare
e7a606e to
82e7a92
Compare
|
Leaving this open, not merging. All three red jobs are upstream, not this repo — reproduced locally with pip
Upstream "Support pySigma 2.0" work, all opened 2026-10-06 and still draft: splunk #85, elasticsearch #235, pipeline-windows #15, pipeline-sysmon #15. sqlite's (#16) is merged and is 2.1.0. Nothing yet for sigma-cli or kusto. So this is the grouped major PR doing its job: it goes green once those ship and Renovate folds them in. Two things to remember when it does:
|
82e7a92 to
9bdb939
Compare
…ds pysigma 2 (#354) (#361) 2.1.0 is the backend's pySigma-2 release (pysigma>=2.0.0,<3.0) and the same constraints file pins pysigma==1.5.1, so #354 made the set unresolvable: pip stopped at ResolutionImpossible and `sigma rules fire on synthetic event logs` has been red on main since 2026-10-10 with 0/123 rows run. With 2.0.0 (pysigma>=1.5.1,<2) it resolves and passes 123/123 against zircolite v3.7.6. renovate.json holds the backend below 2.1.0 so it moves only with the pysigma major in the grouped toolchain PR (#353, which stays open: sigma-cli and every pinned backend/pipeline still declare pysigma<2, and pysigma 2's google-re2 has no Python 3.15 wheel). Delete that rule in the PR that takes pysigma 2. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
9bdb939 to
906bdb0
Compare
87ff0b7 to
b27d9f4
Compare
b27d9f4 to
5d8e663
Compare
4277fb9 to
ceb5835
Compare
81b67ed to
1cf42f1
Compare
1cf42f1 to
c6f7dae
Compare
c6f7dae to
68b5e86
Compare
…nd supports 2 (#369) The grouped sigma toolchain PR (#353) has been red since 2026-10-06 and cannot go green from this repo: pysigma-backend-elasticsearch 2.1.1 and pysigma-backend-kusto 1.0.1, the latest releases of both, still declare pysigma<2.0.0, so pip fails with ResolutionImpossible before a single rule is compiled or a fixture replayed. Every gate in that PR is red for a reason no edit here can fix. Hold pysigma below 2.0.0, and with it the two packages whose next release requires pysigma 2: sigma-cli below 4.0.0 and pysigma-backend-splunk below 3.0.0. pysigma-backend-sqlite already had this hold (#354); its description now points at the others so all four are deleted together, in the PR that takes pysigma 2, and the toolchain still moves as one. Patch and minor releases inside pySigma 1 keep arriving in the grouped PR as before. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Closing: pysigma 2 cannot install while pysigma-backend-elasticsearch and pysigma-backend-kusto still require pysigma<2.0.0. #369 holds the toolchain on pySigma 1 until they ship pySigma-2 releases; delete those four hold rules in the PR that takes the major. |
This PR contains the following updates:
==1.5.1→==2.1.1==2.1.0→==3.0.1==3.1.0→==4.0.1Release Notes
SigmaHQ/pySigma (pysigma)
v2.1.1Compare Source
Security Fixes
Context.callleads to command execution (High):Templates in
QueryTemplateTransformationandTemplateFinalizercould reach the internalj2templateattribute, get a JinjaContextthroughTemplate.new_context()and useContext.call()to call pySigma methods that the sandbox blocks (e.g.pipeline.from_yaml).This bypasses the fix for GHSA-h72c-mm3x-7r8c from 2.0.0.
Context.callis now blocked as acallable, and templates can no longer access the
j2templateattribute.Reported by @Artur12555.
sigma.matching: policy regex engine not applied toMatchCompiler(Moderate):MatchCompilercompiled regular expressions from rules (|revalues and wildcards) withPython's backtracking
reengine and ignored the configuredSigmaPolicy. A rule like(a+)+$together with a crafted field value could stall the matcher. All patterns are nowcompiled with the policy's regex engine (RE2 under the default
SafePolicy).SigmaMatchertakes a
policyargument and otherwise uses the pipeline's policy.Behaviour change: under
SafePolicy, rules that use backreferences or lookaround now raisean error when the matcher is created.
Reported by @Gideon145.
What's Changed
New Contributors
Full Changelog: SigmaHQ/pySigma@v2.1.0...v2.1.1
v2.1.0Compare Source
What's Changed
sigma.matchingmodule for runtime event matching by @thomaspatzke with @Copilot in #608New Contributors
Full Changelog: SigmaHQ/pySigma@v2.0.3...v2.1.0
v2.0.3Compare Source
What's Changed
New Contributors
Full Changelog: SigmaHQ/pySigma@v2.0.2...v2.0.3
v2.0.2Compare Source
What's Changed
New Contributors
Full Changelog: SigmaHQ/pySigma@v2.0.1...v2.0.2
v2.0.1Compare Source
What's Changed
New Contributors
Full Changelog: SigmaHQ/pySigma@v2.0.0...v2.0.1
v2.0.0Compare Source
pySigma 2.0 Introduction
Breaking Changes: SigmaPolicy as Central Security Control Point
pySigma 2.0 introduces
SigmaPolicy— a unified security configuration framework that replaces scattered method parameters across the codebase. This is a breaking change but brings significant security and usability improvements.What Changed:
allow_template_vars,allow_external_sources,vars_allowed_paths,regex_engine) are no longer individual method parametersSigmaPolicydataclassProcessingPipeline.from_yaml(),from_dict()) now accept apolicyparameter instead of individual flagsWhy This Matters:
pySigma operates in two fundamentally different trust models:
SigmaPolicy declares your trust model once, and those settings propagate through the entire pipeline automatically.
Predefined profiles available:
SafePolicy— RE2 engine, all security features disabledTrustedPolicy— Python engine, for fully trusted rule sourcesCheck out the documentation for further details.
Hardened Defaults: DoS-Safe Regex Engine
Default regex engine is now
RE2RegexEngine(backed by Google RE2):remodule doesIf you need full regex compatibility, explicitly use
PythonRegexEngine:Breaking API Changes
Method signatures have been updated across the codebase:
Before (v1.5.1):
After (v2.0.0):
Security Hardening Details
PYSIGMA_ALLOW_VARS_EXECUTIONandPYSIGMA_ALLOW_EXTERNAL_SOURCESenvironment variables are respected as final fallbackMigration Guide
If upgrading from v1.5.1:
SigmaPolicyinstancespolicyparameter, not as top-level keysWhat's Changed
New Contributors
Full Changelog: SigmaHQ/pySigma@v1.5.1...v2.0.0
SigmaHQ/pySigma-backend-splunk (pysigma-backend-splunk)
v3.0.1Compare Source
Security fixes:
Full Changelog: SigmaHQ/pySigma-backend-splunk@v3.0.0...v3.0.1
v3.0.0Compare Source
What's Changed
New Contributors
Full Changelog: SigmaHQ/pySigma-backend-splunk@v2.1.0...v3.0.0
SigmaHQ/sigma-cli (sigma-cli)
v4.0.1Compare Source
Security Fixes
Full Changelog: SigmaHQ/sigma-cli@v4.0.0...v4.0.1
v4.0.0Compare Source
Breaking Change by Security Hardening: Enhanced Sigma Policy and Safe Defaults
This release introduces comprehensive security hardening through new security policy profiles and safer defaults. The CLI now supports two explicit policies: Safe Policy (default) uses the RE2 regex engine to prevent DoS attacks, disables template variable expansion, and blocks external rule sources—ideal for untrusted rules. Trusted Policy uses Python's native regex engine with broader pattern support and allows template variables and external sources for controlled environments. By default, processing now prioritizes security with RE2 regex, disabled template variables, and blocked external sources.
Users can control security policies through command-line options: use
--policy safeor--policy trusted, override the regex engine independently with--regex-engine re2or--regex-engine python, and enable advanced features only when needed with--enable-template-vars(with security warning) or--allow-external-sources. The same security policies apply to both theconvertandcheckcommands. These settings are backward compatible—existing scripts can continue with--policy trustedif broader processing is required.For most users, no action is required—safe defaults protect you automatically. If you need permissive processing with trusted rules, use
--policy trusted. If you need specific advanced features, combine options as needed (e.g.,--policy trusted --enable-template-vars). This approach reduces your attack surface from regex DoS and code execution while maintaining flexibility for legitimate use cases.What's Changed
New Contributors
Full Changelog: SigmaHQ/sigma-cli@v3.1.0...v4.0.0
Configuration
📅 Schedule: (in timezone Etc/UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.