Commit b0bcf1a
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Security Solution] Fixes rule customizations diff bug on import
(#228475)](#228475)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Davis
Plumlee","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-07-29T15:39:31Z","message":"[Security
Solution] Fixes rule customizations diff bug on import
(#228475)\n\n**Fixes:
https://github.com/elastic/kibana/issues/228399**\n**Fixes:
https://github.com/elastic/kibana/issues/228401**\n**Fixes:
https://github.com/elastic/kibana/issues/228413**\n\n##
Summary\n\nAddresses issue with base version API route caching and not
being\nproperly invalidated on rule import and adds unit tests to cover
similar\ncache invalidation cases.\n\n\n### Checklist\n\nCheck the PR
satisfies following conditions. \n\nReviewers should verify this PR
satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"1a1d13341b13662af30c3bcfa54641e2a8b5dae7","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v9.2.0","v9.1.1","v8.19.1"],"title":"[Security
Solution] Fixes rule customizations diff bug on
import","number":228475,"url":"https://github.com/elastic/kibana/pull/228475","mergeCommit":{"message":"[Security
Solution] Fixes rule customizations diff bug on import
(#228475)\n\n**Fixes:
https://github.com/elastic/kibana/issues/228399**\n**Fixes:
https://github.com/elastic/kibana/issues/228401**\n**Fixes:
https://github.com/elastic/kibana/issues/228413**\n\n##
Summary\n\nAddresses issue with base version API route caching and not
being\nproperly invalidated on rule import and adds unit tests to cover
similar\ncache invalidation cases.\n\n\n### Checklist\n\nCheck the PR
satisfies following conditions. \n\nReviewers should verify this PR
satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"1a1d13341b13662af30c3bcfa54641e2a8b5dae7"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228475","number":228475,"mergeCommit":{"message":"[Security
Solution] Fixes rule customizations diff bug on import
(#228475)\n\n**Fixes:
https://github.com/elastic/kibana/issues/228399**\n**Fixes:
https://github.com/elastic/kibana/issues/228401**\n**Fixes:
https://github.com/elastic/kibana/issues/228413**\n\n##
Summary\n\nAddresses issue with base version API route caching and not
being\nproperly invalidated on rule import and adds unit tests to cover
similar\ncache invalidation cases.\n\n\n### Checklist\n\nCheck the PR
satisfies following conditions. \n\nReviewers should verify this PR
satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"1a1d13341b13662af30c3bcfa54641e2a8b5dae7"}},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Davis Plumlee <[email protected]>
1 parent 03aef32 commit b0bcf1a
File tree
2 files changed
+50
-1
lines changed- x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management_ui/components/rule_import_modal
2 files changed
+50
-1
lines changedLines changed: 46 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | 28 | | |
20 | 29 | | |
| |||
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
29 | 54 | | |
30 | 55 | | |
31 | 56 | | |
| |||
35 | 60 | | |
36 | 61 | | |
37 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
38 | 83 | | |
39 | 84 | | |
40 | 85 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
0 commit comments