Improve SIEM rule fixture validation#2220
Open
ryuszi wants to merge 1 commit into
Open
Conversation
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.
Skill Improvement ($50-150 Bounty)
Skill Modified
Skill name:
siem-rulesSkill path:
skills/secops/siem-rules/What Was Wrong
The skill asked authors to explain how a SIEM rule produces a true positive, but it did not require replayable validation evidence. A rule could be marked ready after a short manual query run even if it had no true-positive fixture, no benign negative case, no threshold boundary checks, and no regression evidence after tuning changes.
This leaves a practical detection engineering gap: threshold, suppression, lookup, parser, or query-optimization changes can silently remove true positives or reintroduce known false positives.
Related review issue: #2218
What This PR Fixes
siem-rulesto1.0.1.Fixture-Backed Validationstep before lifecycle promotion.Evidence
Before (skill could treat this as validated):
Manual validation over a clean 24-hour window can produce no alerts without proving the rule fires on representative malicious activity or avoids known benign off-hours maintenance.
After (now explicitly handled):
Test Cases Added/Updated
tests/vulnerable/)tests/benign/)Validation
git diff --check.github/workflows/lint-skills.ymlskills/secops/siem-rules/SKILL.mdBounty Tier
Bounty Info