[Security Solution] Add rule_source
to the API schema
#180122
Labels
8.15 candidate
Feature:Prebuilt Detection Rules
Security Solution Prebuilt Detection Rules
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.
v8.15.0
Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168
Summary
As part of the preparatory changes for the work in Milestone 3, we want to add the new
rule_source
field to the API schema. In particular we should:rule_source
as an optional property toRuleResponse
, by introducing it as an optional property in theResponseFields
schema.undefined
for therule_source
field.rule_source
as an optional property toRuleToImport
, which defines the schema of required and accepted fields when importing a rule.rule_source
field should be ignored in the endpoint logic.The
rule_source
field will only be optional inRuleResponse
temporarily: it should be marked as required when the normalization on read and migration on write on the endpoints is introduced.Background
kibana/x-pack/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md
Lines 93 to 170 in de25d7c
kibana/x-pack/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md
Lines 185 to 243 in de25d7c
Rule to Import schema
kibana/x-pack/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md
Lines 275 to 311 in de25d7c
The text was updated successfully, but these errors were encountered: