Repository navigation
ci(sigma-validation): run on every PR so both jobs can join the ruleset - #363
Merged
Merged
Conversation
The ruleset on main requires `sigma validate + compile` but not `sigma rules fire on synthetic event logs` or `cloud sigma rules fire on synthetic events (nested-field plane)`, and both were path-filtered on `pull_request`, which rules them out: a path-filtered required check never reports on a PR that misses its paths, and that PR never merges (#213). So #354 merged with the host plane failing and main stayed red for four days. A Renovate PR with auto-merge on squashes the moment the compile gate is green, red validation or not. The filter goes, exactly as sigma.yml did it. Both jobs are pure CPU on a checkout and run in a few minutes. `push` stays filtered. Adding the two contexts to the ruleset is a repo-settings change and is not in this diff. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
The trigger change is correct, focused, and consistent with the existing required Sigma check pattern.
0 open findings
What changed in this PR
Ensures Sigma efficacy checks run on every PR so they can become required status checks without deadlocking merges.
Changes:
- Removes PR path filtering from Sigma validation.
- Documents the CI/ruleset rationale.
| File | Description |
|---|---|
.github/workflows/sigma-validation.yml |
Runs both validation jobs on every PR. |
CHANGELOG.md |
Records the workflow policy change. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
The ruleset on
main(id 18274007) requiressigma validate + compilebut notsigma rules fire on synthetic event logsorcloud sigma rules fire on synthetic events (nested-field plane), and both were path-filtered onpull_request, which rules them out: a path-filtered required check never reports on a PR that misses its paths, and that PR never merges (#213). So #354 merged with the host plane failing andmainstayed red for four days. A Renovate PR with auto-merge on (#353 has it today) squashes the moment the compile gate is green, red validation or not.The filter goes, exactly as
sigma.ymldid it. Both jobs are pure CPU on a checkout and run in a few minutes.pushstays filtered.Not in this diff: the ruleset half
After this merges, add these two contexts to the existing ruleset on
main(Settings → Rules → Rulesets → themainruleset → "Require status checks to pass"):sigma rules fire on synthetic event logscloud sigma rules fire on synthetic events (nested-field plane)Already required there, no change needed:
guard / integrity, the fourlint / …jobs,role layer + installer (functional),bootstraps on a bare ubuntu:24.04,sigma validate + compile.Still path-filtered, so do not add them yet:
zeek detections fire on synthetic PCAPs,suricata detections fire on synthetic PCAPs(network-validation.yml), anddetection lab boots and serves(lab-smoke.yml, opted out by design).🤖 Generated with Claude Code