[Security Solution] Improve overall rule diff algorithm #166388
Labels
Feature:Prebuilt Detection Rules
Security Solution Prebuilt Detection Rules area
performance
refactoring
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.
UPDATE: Splitted into:
extractDiffableCommonFields
as inconvertCreateAPIToInternalSchema
#180165Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168
Related to: #148189
Summary
extractDiffableCommonFields
, apply the same default values to the rule as inconvertCreateAPIToInternalSchema
, which means reuse the existing code. That would be helpful to ensure that defaults inextractDiffableCommonFields
andconvertCreateAPIToInternalSchema
do not diverge over time. (comment).The text was updated successfully, but these errors were encountered: