Open pborgonovi opened 21 hours ago
Pinging @elastic/security-solution (Team: SecuritySolution)
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)
Pinging @elastic/security-detections-response (Team:Detections and Resp)
Describe the bug:
When re-importing a prebuilt rule and overwriting an existing prebuilt rule in the system, the rule is incorrectly marked as "is_customized": true, even though the re-imported rule has not been customized and matches the original prebuilt version.
Kibana/Elasticsearch Stack version:
8.x
Server OS version:
Browser and Browser OS versions:
Elastic Endpoint version:
Original install method (e.g. download page, yum, from source, etc.):
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Pre requisites:
prebuiltRulesCustomizationEnabled
Feature flag is ONSteps to reproduce:
Current behavior:
The re-imported rule is flagged as "is_customized": true despite having all fields in original state.
Expected behavior:
The re-imported rule should correctly be flagged as "is_customized": false
Screenshots (if relevant):
https://github.com/user-attachments/assets/51f90c1f-b200-4864-a09d-9e3f14510d86
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context (logs, chat logs, magical formulas, etc.):