-
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 Solutions] Fix timeline not able to save on investigating a…
…lert from dashboard (#151616) issue: #149800 ## Summary The timeline endpoint is returning an error everywhere we call `openTimelineWithFilters` (entity analytics and detections and response pages) I compare a broken data provider with one that works and spotted the extra `and: []` <img width="1424" alt="Screenshot 2023-02-20 at 13 54 19" src="https://user-images.githubusercontent.com/1490444/220121799-9d33a0f8-d319-4161-95e2-c9c3fb324972.png"> After removing `and: []` it works. ### How to test it? * On entity analytics and detections and response pages * Open the timeline from the alerts column * Check if the timeline HTTP call status code is 200 * Save the timeline and check if it is saved ### Checklist Delete any items that are not applicable to this PR. - [x] [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 --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
cd910be
commit 949c8c2
Showing
3 changed files
with
17 additions
and
7 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