summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/tests/test_pattern_fired_metrics.py
AgeCommit message (Collapse)Author
2026-10-20security-guidance: test the mask order, not that the masks come lastmhegazy/sg-pattern-fired-telemetryMohamed Hegazy
Other tail metrics are now added after the two warning masks, so the masks are no longer the last keys on the Stop row. What matters is that the fired mask comes after the unresolved one, so a row cut at the key cap loses the fired mask first. Test that, and say so in the comment.
2026-10-19security-guidance: report which pattern rules fired on every Stop rowMohamed Hegazy
The Stop sweep reported only which rules were still matching, and only on skipped-review rows. Add warn_fired_mask and put both masks on every Stop row, so each rule's fired and still-matching counts can be read. Keep a user rule apart from a built-in rule of the same name in the sweep.