Skip to content
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

[Session View] jumpToEntityId / investigatedAlertId behavior fixed. #129275

Merged
merged 26 commits into from
Apr 5, 2022

Conversation

mitodrummer
Copy link
Contributor

@mitodrummer mitodrummer commented Apr 2, 2022

Summary

Kinks have been worked out around jumpToEntityId (bi-directional pagination) functionality. I've also added the missing plumbing to make use of it in security_solution plugin when launching session view from timeline component.

QA

  • Loading session viewer from the Hosts -> events tab should jump to and select the event from the table
  • Loading session viewer from the Alerts page should mark the alert as the "investigated alert" and jump to it's position
  • Jump to alerted process button (in alert details tab) should work for very large sessions, as it will make use of jumpTo feature.

it fixes #128951

@mitodrummer mitodrummer requested review from zizhouW, opauloh and a team April 2, 2022 07:29
@mitodrummer mitodrummer requested review from a team as code owners April 2, 2022 07:29
@mitodrummer mitodrummer added bug Fixes for quality problems that affect the customer experience v8.2.0 release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed labels Apr 2, 2022
Copy link

@zizhouW zizhouW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! The following are just some preemptive comments on some of the "trickier" (imo) conflicts that we might see with the changes in #129149

Copy link
Contributor

@opauloh opauloh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just some questions

@mitodrummer mitodrummer requested a review from a team April 5, 2022 17:49
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 4.9MB 4.9MB +370.0B
sessionView 56.5KB 56.8KB +260.0B
total +630.0B

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
securitySolution 18 19 +1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 251.6KB 251.6KB +11.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mitodrummer mitodrummer enabled auto-merge (squash) April 5, 2022 21:41
Copy link
Contributor

@kqualters-elastic kqualters-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@mitodrummer mitodrummer merged commit 772205f into elastic:main Apr 5, 2022
kibanamachine pushed a commit that referenced this pull request Apr 5, 2022
…129275)

* Fix for process event pagination in session view

* plumbing work to get a few more props to session view when loaded via timeline

* session config plumbing work done

* jump to event kinks worked out.

* tests fixed

* test fix

* build error fixes

* addressed PR comments. cleanup

* addressed PR comments. cleanup

* post merge fixes

* pr comments addressed

Co-authored-by: mitodrummer <[email protected]>
(cherry picked from commit 772205f)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.2

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 6, 2022
…129275) (#129543)

* Fix for process event pagination in session view

* plumbing work to get a few more props to session view when loaded via timeline

* session config plumbing work done

* jump to event kinks worked out.

* tests fixed

* test fix

* build error fixes

* addressed PR comments. cleanup

* addressed PR comments. cleanup

* post merge fixes

* pr comments addressed

Co-authored-by: mitodrummer <[email protected]>
(cherry picked from commit 772205f)

Co-authored-by: Karl Godard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Session View] jumpToEvent feature should be dynamic (investigatedAlert prop added)
6 participants