forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Siem migrations remove nested fields from rules m…
…apping (elastic#207086) ## Summary Removes the `type: "nested"` from `elastic_rule`, `original_rule` and `original_rule.annotations` fields. The nested type would be necessary only if we had multiple objects in those fields and we wanted to query multiple nested fields as individual entities. There's no need to define these fields as nested and doing so adds some limitations and complexities, so we changed that to plain objects. This change does not cause any behavioral change. It will only provide the possibility of seeing the object values in discover: #### Discover Before: ![discover before](https://github.com/user-attachments/assets/0ab4e7f1-83f1-4672-942a-b972970c472b) After: ![discover after](https://github.com/user-attachments/assets/1d716e4f-8117-4bf9-a70f-c081a6219ae6) #### Mappings Before: ![console nested](https://github.com/user-attachments/assets/f49cda1b-3f58-4c39-884f-3bf29a4f4d7f) After ![console not nested](https://github.com/user-attachments/assets/60e1f256-2fd0-421a-9997-d5438349b0c6) --------- Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
f0292b5
commit a555d57
Showing
3 changed files
with
11 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters