[8.17] [Detection Engine] Display dataview pattern as tooltip during rule creation (#226909)#227553
Merged
kibanamachine merged 1 commit intoelastic:8.17from Jul 11, 2025
Merged
Conversation
…eation (elastic#226909) ## Summary The story behind this feature is a little circuitous: the [original issue](elastic#137823) was about the full dataview index pattern being truncated, and the [first attempt](elastic#214495) to fix this did so by instead displaying the data view _name_ instead of its index pattern. However, this meant that users were less likely to see _any_ index pattern associated to the dataview, rather than the full pattern. This PR finishes the story by, in addition to preferring the data view's _name_ as the dropdown option, adds its full index pattern as the _tooltip_ for the corresponding option. ## What this PR does * Adds the index pattern for the dataview as a tooltip on the Data View dropdown during rule creation ## Screenshots <kbd>Before: <img width="894" alt="Screenshot 2025-07-07 at 5 13 34 PM" src="https://github.com/user-attachments/assets/1079f8c0-148f-4b1f-9469-ab17fc408d64" /> </kbd> <kbd>After: <img width="894" alt="Screenshot 2025-07-07 at 5 14 26 PM" src="https://github.com/user-attachments/assets/335e54f9-9c6b-4833-8d1d-a254329ab7c1" /> </kbd> ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 7086158)
1 task
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
cc @rylnd |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.17:Questions ?
Please refer to the Backport tool documentation