[Security Solution] Create types or tests to link Rule Schema and Diffable Rule schema #194484
Labels
Feature:Prebuilt Detection Rules
Security Solution Prebuilt Detection Rules area
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Epics: https://github.com/elastic/security-team/issues/1974 (internal), #179907
Summary
Currently, our API Rule Schemas and our schema for
DiffableRule
s are completely disconnected: our Rule Schemas are auto-generated via our OpenAPI specs, while the DiffableRule schema (used in our Prebuilt Rule upgrade workflow) is created manually by listing its diffable fields.This means that whenever a new field is added (or modified or removed) to our Rule Schemas, that change can go completely unnoticed (and the change merged to
main
) without the engineer realising that theDiffableRule
should be adapted in a similar way.Task
DiffableRule
.DiffableRule
.The text was updated successfully, but these errors were encountered: