-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Security Solution] Write the rule_source field together with immutable #180141
Copy link
Copy link
Closed
Closed
Copy link
Labels
8.15 candidateFeature:Prebuilt Detection RulesSecurity Solution Prebuilt Detection Rules areaSecurity Solution Prebuilt Detection Rules areaFeature:Rule ManagementSecurity Solution Detection Rule Management areaSecurity Solution Detection Rule Management 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 Teamv8.15.0
Metadata
Metadata
Assignees
Labels
8.15 candidateFeature:Prebuilt Detection RulesSecurity Solution Prebuilt Detection Rules areaSecurity Solution Prebuilt Detection Rules areaFeature:Rule ManagementSecurity Solution Detection Rule Management areaSecurity Solution Detection Rule Management 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 Teamv8.15.0
Type
Fields
Give feedbackNo fields configured for issues without a type.
Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168
ruleSourcefield (BLOCKED) #184113Summary
As part of our migration strategy to the new schema, we need to start writing the
rule_sourcefield together with theimmutablefield to prepare for data migration. We need to ensure that all our endpoints write therule_sourcefield before we start migrating detection rules so we do not end up in a situation when our data is migrated but rule CRUD endpoints continue writing the old format.ruleSourceshould be initialized from theimmutablefield and saved to ES.POST /rulesPOST /rules/_bulk_createPOST /rules/_importPUT /rules/prepackagedPOST /prebuilt_rules/installation/_installPOST /prebuilt_rules/upgrade/_perform(creates a new rule when there is a type change)RuleManagementClientabstraction to be created in [Security Solution] RulesManagementClient refactoring. Part 1 #180128