diff --git a/CHANGELOG.md b/CHANGELOG.md index 613fea2..78e4636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,20 @@ under `[Unreleased]` from here. ### Fixed +- **The host validation plane was red on main from #354: `pysigma-backend-sqlite` goes + back to 2.0.0.** Renovate bumped the backend to 2.1.0, which moved to pySigma 2 + (`pysigma>=2.0.0,<3`), while `zircolite-constraints.txt` pins `pysigma==1.5.1` and must + (#322): sigma-cli 3.1.0, the splunk/elasticsearch/kusto backends and zircolite's + sysmon/windows pipelines all still require `pysigma<2`. The constrained install step in + `sigma-validation.yml` went `ResolutionImpossible`, the job failed before running a single + rule, and the PR was merged with that check red. 2.0.0 is the last release on pySigma 1.x + and the one #334 proved (upstream's notes say 1.x installs keep resolving to it), so the + pin returns there, the constraints header records that 2.0.0 is now a ceiling as well as a + floor, and `renovate.json` caps the package at `<2.1.0` so the same PR does not come back + weekly. The cap goes when pySigma 2 lands across the toolchain in both pin files. Full + run against zircolite v3.7.6 on the restored pin: 123/123, the 19 + `-outside-window` cases included. + - **Weekly detection review #351: `/identity` anchored, three token-creation rules get `filter_ci`, 4698 LOLBins gated, `' stop '` aligned, Harbor retitled; four proposals declined in the rules (#351).** The review found no coverage holes and ten scoping diff --git a/docker/validation/zircolite-constraints.txt b/docker/validation/zircolite-constraints.txt index 29101d7..b6d458a 100644 --- a/docker/validation/zircolite-constraints.txt +++ b/docker/validation/zircolite-constraints.txt @@ -27,14 +27,21 @@ # at 2.0.0, not left to float: which version runs decides whether the timespan half of # every correlation rule is tested at all, and a float would move that verdict silently. # +# 2.0.0 is also the CEILING for as long as this toolchain runs pySigma 1.x, not just the +# floor. pysigma-backend-sqlite 2.1.0 (2026-10-10) moved to pySigma 2 (`pysigma>=2.0.0,<3`) +# and nothing else here can follow yet: sigma-cli 3.1.0, the splunk/elasticsearch/kusto +# backends in detections/requirements.txt and zircolite's own sysmon/windows pipelines all +# require `pysigma<2`. Renovate bumped the backend alone (#354), the constrained install in +# sigma-validation.yml went ResolutionImpossible against the pysigma==1.5.1 line below, and +# the host plane was red on main from that merge until the pin came back down. Upstream's +# release notes say it outright: installs on pySigma 1.x keep resolving to 2.0.0. So +# renovate.json caps this package at <2.1.0; the PR that moves pysigma to 2.x in BOTH files +# lifts that cap, and has to re-prove every correlation `-outside-window` case here. +# # Renovate watches this file through a managerFilePatterns entry in renovate.json — the # name is deliberately not *requirements*, because it is not our dependency list — and # bumps the pair in the same grouped PR as detections/requirements.txt, which pins the # same two for the sigma gate. Keep the two files agreeing (#322). pysigma==1.5.1 pyparsing==3.3.3 -# 2.0.0, not 2.1.0: 2.1.0 is the backend's pySigma-2 release and contradicts the pysigma==1.5.1 -# line above, so pip stops at ResolutionImpossible before a rule runs (#354 bumped it alone). -# The full account and the Renovate cap that stops the re-bump are in #360 / #361; this line -# is the same pin so this branch's fixtures can be proven on CI meanwhile. pysigma-backend-sqlite==2.0.0 diff --git a/renovate.json b/renovate.json index c906d16..402b481 100644 --- a/renovate.json +++ b/renovate.json @@ -12,6 +12,12 @@ "semanticCommitType": "ci", "semanticCommitScope": "deps", "automerge": false + }, + { + "description": "pysigma-backend-sqlite 2.1.0 moved to pySigma 2 (pysigma>=2.0.0,<3) while sigma-cli, the splunk/elasticsearch/kusto backends and zircolite's pipelines still require pysigma<2, so bumping the backend alone makes the constrained install in sigma-validation.yml ResolutionImpossible (#354 did exactly that and main's host plane went red). Hold it below 2.1.0 until pySigma 2 lands across the toolchain; the PR that moves pysigma to 2.x in both files drops this rule.", + "matchManagers": ["pip_requirements"], + "matchPackageNames": ["pysigma-backend-sqlite"], + "allowedVersions": "<2.1.0" } ] }