-
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] Fix missing title on inspect pop-up #143601
[Security Solution] Fix missing title on inspect pop-up #143601
Conversation
removed references to documentType
removed references to documentType
@elasticmachine merge upstream |
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.
Thanks for making these changes! The fix for the inspect modal looks good, I would just undo the onComponentInitialized
removal 😄
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.
Awesome, thanks for making the changes!
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! thanks Christine 🚀
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
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.
@awp-viz LGTM - Thanks for this fix!
* main: (57 commits) [Files] Filepicker (elastic#143111) [Infrastructure UI] Replace Lens table with EUI table and own api (elastic#142871) [api-docs] Daily api_docs build (elastic#143829) [api-docs] Daily api_docs build (elastic#143825) [api-docs] Daily api_docs build (elastic#143823) [Security Solution] Restructuring folders of Detection Engine + refactoring Rule Management (elastic#142950) [Dev tools] Fix performance issue with autocomplete suggestions (elastic#143428) [Security Solution] Disable ML rule's edit button link under basic license (elastic#143260) [Lens] Use the language-documentation package for formula (elastic#143649) [api-docs] Daily api_docs build (elastic#143811) [Security Solution] Fix missing title on inspect pop-up (elastic#143601) fix incorrect filters being passed to events table causing duplicate entries in our inpsect tool request tab (elastic#143239) [Security Solution][Endpoint] `get-file` response action kibana download file API (elastic#143708) Rely on refresh context to update stats independently of overview cards. (elastic#143308) [RAM] Rule event log - Fix incorrect results when filtering by message and outcome simultaneously (elastic#143119) [ML] Display link to create data view from error cases in data frame analytics results pages (elastic#143596) Update links in README :) (elastic#143675) Add more tests for ml_inference_logic (elastic#143764) skip failing test suite (elastic#143717) [DOCS] Add assignees to case APIs (elastic#143610) ...
This PR is a quick bug fix for #141617 - #143601 fixes the inspect title issue by passing a 'title' prop to `initializeTGridSettings`. - It appears subsequent enhancements in `sessions_viewer` also calls `initializeTGridSettings`, but in a separate manner. This PR combines the two t-grid initialization calls into one. ![image](https://user-images.githubusercontent.com/18648970/204374253-2c98f7c7-76fd-4b60-92ae-367464e64abf.png)
This PR is a quick bug fix for elastic#141617 - elastic#143601 fixes the inspect title issue by passing a 'title' prop to `initializeTGridSettings`. - It appears subsequent enhancements in `sessions_viewer` also calls `initializeTGridSettings`, but in a separate manner. This PR combines the two t-grid initialization calls into one. ![image](https://user-images.githubusercontent.com/18648970/204374253-2c98f7c7-76fd-4b60-92ae-367464e64abf.png) (cherry picked from commit 32d1dbb)
…6490) # Backport This will backport the following commits from `main` to `8.6`: - [[Security Solution] Inspect button title missing (#146473)](#146473) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2022-11-29T00:36:40Z","message":"[Security Solution] Inspect button title missing (#146473)\n\nThis PR is a quick bug fix for\r\nhttps://github.com//issues/141617\r\n\r\n- #143601 fixes the inspect title\r\nissue by passing a 'title' prop to `initializeTGridSettings`.\r\n- It appears subsequent enhancements in `sessions_viewer` also calls\r\n`initializeTGridSettings`, but in a separate manner. This PR combines\r\nthe two t-grid initialization calls into one.\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/204374253-2c98f7c7-76fd-4b60-92ae-367464e64abf.png)","sha":"32d1dbb1f98053ac34d278d945034363695227c3","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat Hunting","Team: SecuritySolution","Team:Threat Hunting:Investigations","v8.6.0","v8.7.0"],"number":146473,"url":"https://github.com/elastic/kibana/pull/146473","mergeCommit":{"message":"[Security Solution] Inspect button title missing (#146473)\n\nThis PR is a quick bug fix for\r\nhttps://github.com//issues/141617\r\n\r\n- #143601 fixes the inspect title\r\nissue by passing a 'title' prop to `initializeTGridSettings`.\r\n- It appears subsequent enhancements in `sessions_viewer` also calls\r\n`initializeTGridSettings`, but in a separate manner. This PR combines\r\nthe two t-grid initialization calls into one.\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/204374253-2c98f7c7-76fd-4b60-92ae-367464e64abf.png)","sha":"32d1dbb1f98053ac34d278d945034363695227c3"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146473","number":146473,"mergeCommit":{"message":"[Security Solution] Inspect button title missing (#146473)\n\nThis PR is a quick bug fix for\r\nhttps://github.com//issues/141617\r\n\r\n- #143601 fixes the inspect title\r\nissue by passing a 'title' prop to `initializeTGridSettings`.\r\n- It appears subsequent enhancements in `sessions_viewer` also calls\r\n`initializeTGridSettings`, but in a separate manner. This PR combines\r\nthe two t-grid initialization calls into one.\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/204374253-2c98f7c7-76fd-4b60-92ae-367464e64abf.png)","sha":"32d1dbb1f98053ac34d278d945034363695227c3"}}]}] BACKPORT--> Co-authored-by: christineweng <[email protected]>
This PR contains fixes for #141617
The bug was first discovered under Sessions, and similar behavior is found on other sections where T-Grid is used. This was fixed by including a translated
title
when T-Grid is created (createTimeline
) or initialized (initializeTGridSettings
), and making it persistent for subsequent timeline actions.After
Hosts -> Sessions
Hosts -> Events -> Events table
Alerts -> Alerts table
Rules -> Alerts table
Checklist