-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] Use timelineId to tell when investigate in timeline is in a table #124310
[Security Solution] Use timelineId to tell when investigate in timeline is in a table #124310
Conversation
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM:
- Checked this out
- Tested it to make sure the REST calls were not being called everywhere.
- 👍
…ne is in a table (elastic#124310) ## Summary Fixes elastic#124307 by preventing event tables from making event detail requests when in a timeline by skipping the data fetching hook when the action is in a timeline. 0 calls to the detection detail api when viewing just the table: ![image](https://user-images.githubusercontent.com/56408403/152084212-4b61fb5d-240b-4921-9842-61f3e505d7c7.png) 1 made when opening the detail flyout: ![image](https://user-images.githubusercontent.com/56408403/152084244-d94ac8f5-c336-458a-b1a2-3a2780e102f4.png) ### 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 a6c7d96)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
## Summary Reverts elastic#124310 through the commands: ```sh git revert 30f2ce4 --no-commit git revert de32a55 --no-commit git checkout -b 'revert-124310' git add . git push ``` Double check that this does look like a revert of that PR. This is for `main` only. (cherry picked from commit ea6347c)
## Summary Reverts #124310 through the commands: ```sh git revert 30f2ce4 --no-commit git revert de32a55 --no-commit git checkout -b 'revert-124310' git add . git push ``` Double check that this does look like a revert of that PR. This is for `main` only. (cherry picked from commit ea6347c) Co-authored-by: Frank Hassanabad <[email protected]>
Summary
Fixes #124307 by preventing event tables from making event detail requests when in a timeline by skipping the data fetching hook when the action is in a timeline.
0 calls to the detection detail api when viewing just the table:
1 made when opening the detail flyout:
Checklist