-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Handle invalid savedSearchId (#182937)
## Summary Handles #182823 This PR resolves the issue where user opens a timeline with a `savedSearchId` which no longer exists. ## Desk Testing Guide 1. Create an `Untitled Timeline` and add `ESQL` query and save the timeline. 2. Make sure `Saved Objects` in Stack Management contains a new saved object. with name - `Saved search for timeline - <name_of_timeline_above>`. 3. Export the above created timeline as `ndjson` as shown below. ![Screenshot 2024-05-08 at 14 26 21](https://github.com/elastic/kibana/assets/7485038/cc134d53-7d07-40d9-8ee8-7e4e7a0c2cc9) 5. Delete the above created timeline 6. Make sure that corresponding saved objects is also deleted in `Saved Objects` in Stack Management. 7. `Import` the timeline export in Step 3 on the Timelines Page. 8. Once imported.. Navigate to ESQL tab and save a arbitrary query. 9. Save the timeline... Switch to another timeline and then back. 10. The query you saved should be restored. --------- Co-authored-by: Jan Monschke <janmonschke@fastmail.com>
- Loading branch information
1 parent
ed14baf
commit 02a22fd
Showing
3 changed files
with
31 additions
and
11 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