-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Security Solution] Implement rule type diff algorithm #190482
Copy link
Copy link
Closed
Labels
8.16 candidateFeature:Prebuilt Detection RulesSecurity Solution Prebuilt Detection Rules areaSecurity Solution Prebuilt Detection Rules areaTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection Rule ManagementSecurity Detection Rule Management TeamSecurity Detection Rule Management TeamTeam:Detections and RespSecurity Detection Response TeamSecurity Detection Response TeamenhancementNew value added to drive a business resultNew value added to drive a business resultv8.16.0
Metadata
Metadata
Assignees
Labels
8.16 candidateFeature:Prebuilt Detection RulesSecurity Solution Prebuilt Detection Rules areaSecurity Solution Prebuilt Detection Rules areaTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection Rule ManagementSecurity Detection Rule Management TeamSecurity Detection Rule Management TeamTeam:Detections and RespSecurity Detection Response TeamSecurity Detection Response TeamenhancementNew value added to drive a business resultNew value added to drive a business resultv8.16.0
Type
Fields
Give feedbackNo fields configured for issues without a type.
Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168
Related to: #180395
Summary
Implement an algorithm for diffing the
typefield of detection rules. Requirements:targetversion as themergedone.upgrade/_reviewAPI response such rules should be marked as having unsolvable conflicts.typeto any version other than thetarget. This should be implemented under the hood in theupgrade/_performendpoint in [Security Solution] Extend thePOST /upgrade/_performAPI endpoint's contract and functionality #166376. Thetypefield shouldn't be part of upgradeable fields that can be passed in the request body -- FYI @jpdjereContext from the Rule Customization RFC:
To do
typefield diff algorithm #193369)typefield. It will become used in theupgrade/_reviewendpoint.typefield diff algorithm #193372typefield diff algorithms #193375