[FR] Add enforcement for deprecated_reason (#5953)

This commit is contained in:
Mika Ayenson, PhD
2026-04-23 06:45:47 -05:00
committed by GitHub
parent 2dac152094
commit b6886f310c
6 changed files with 61 additions and 6 deletions
@@ -9,8 +9,9 @@ These guidelines serve as a reminder set of considerations when recommending the
### Rule Metadata Checks
- [ ] `deprecated = true` added to the rule metadata.
- [ ] `updated_date` should be the date of the PR.
- [ ] `maturity = "deprecated"` added to the rule metadata.
- [ ] `deprecation_date` set to the date of the PR and `updated_date` matches.
- [ ] `deprecated_reason` added to `[metadata]` with a short explanation (e.g. `"Replaced by <rule name>"`). Required in the same PR that flips `maturity = "deprecated"`; surfaced in Kibana on stacks >= 9.4.
### Testing and Validation