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

[Security Solution] Hovering over a Lens visualization effects the highlight state and legend counts of other Lens visualizations in the same page #156325

Closed
andrew-goldstein opened this issue May 2, 2023 · 5 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Charts Security Solution Lens Charts feature fixed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team v8.8.0
Milestone

Comments

@andrew-goldstein
Copy link
Contributor

Hovering over a Lens visualization effects the highlight state and legend counts of other Lens visualizations in the same page. This behavior was observed in the following views:

  • Security > Dashboards > Overview
  • Security > Cases > a specific case

as illustrated in the animated gifs below:

Overview page:

alerts

case page:

cases

Kibana/Elasticsearch Stack version:

main / v8.8.0

Steps to reproduce:

  1. Navigate to Security > Dashboards > Overview

  2. Hover over individual bars in the Events visualization

Expected results:

  • The Events visualization's legend counts update as individual bars are highlighted
  • The Alert trend visualization's legend counts are NOT updated
  • The Alert trend visualization's bars are NOT highlighted

Actual results:

  • The Events visualization's legend counts are NOT updated as individual bars are highlighted
  • The Alert trend visualization's legend counts are (unexpectedly) updated
  • The Alert trend visualization's bars are (unexpectedly) highlighted

alerts

  1. In the Alert trend visualization, expand the ... popover, and click the Add to new case option

  2. Fill in the required fields, then click Create case

Expected result:

  • A case is created with the contents of the Alert trend visualization
  1. In the Events visualization, expand the ... popover, and click the Add to existing case option

  2. Select the case you created from the previous steps

Expected result:

  • The contents of the Events widget is added to the existing case
  1. Navigate to Security > Cases > the case created in the previous steps

  2. Once again, hover over individual bars in the Events visualization (in the case page):

Expected results:

  • The Events visualization's legend counts update as individual bars are highlighted
  • The Alert trend visualization's legend counts are NOT updated
  • The Alert trend visualization's bars are NOT highlighted

Actual results:

  • The Events visualization's legend counts are NOT updated as individual bars are highlighted
  • The Alert trend visualization's legend counts are (unexpectedly) updated
  • The Alert trend visualization's bars are (unexpectedly) highlighted

cases

@andrew-goldstein andrew-goldstein added bug Fixes for quality problems that affect the customer experience triage_needed Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore labels May 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@andrew-goldstein andrew-goldstein added this to the 8.8 milestone May 2, 2023
@MadameSheema MadameSheema added the Team:Threat Hunting Security Solution Threat Hunting Team label May 2, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@stephmilovic stephmilovic removed their assignment May 2, 2023
@stephmilovic stephmilovic added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed triage_needed labels May 2, 2023
@angorayc
Copy link
Contributor

angorayc commented May 2, 2023

The embeddable exposes few options to sync across panels:
syncTooltips?: boolean;
syncCursor?: boolean;

We need to set these to false if we don't want to sync the highlight state

@angorayc angorayc self-assigned this May 2, 2023
@angorayc angorayc added the v8.8.0 label May 3, 2023
@stephmilovic stephmilovic added the Feature:Lens Charts Security Solution Lens Charts feature label May 4, 2023
@angorayc angorayc added the fixed label May 4, 2023
kibanamachine added a commit that referenced this issue May 4, 2023
#156453) (#156719)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[SecuritySolution] Unsync highlight state between visualizations
(#156453)](#156453)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Angela
Chuang","email":"6295984+angorayc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-04T17:30:14Z","message":"[SecuritySolution]
Unsync highlight state between visualizations (#156453)\n\n##
Summary\r\n\r\nissue:
#156325
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"0e9d84d191a660bae8014d9e543fd4b06d71614c","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat
Hunting","Team: SecuritySolution","Team:Threat
Hunting:Explore","v8.8.0","Feature:Lens
Charts","v8.9.0"],"number":156453,"url":"#156453
Unsync highlight state between visualizations (#156453)\n\n##
Summary\r\n\r\nissue:
#156325
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"0e9d84d191a660bae8014d9e543fd4b06d71614c"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"#156453
Unsync highlight state between visualizations (#156453)\n\n##
Summary\r\n\r\nissue:
#156325
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"0e9d84d191a660bae8014d9e543fd4b06d71614c"}}]}]
BACKPORT-->

Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
@MadameSheema
Copy link
Member

@karanbirsingh-qasource @sukhwindersingh-qasource please validate the fix of this issue on BC3. Thanks!

@karanbirsingh-qasource
Copy link

Hi @MadameSheema

we have validated this issue on 8.8 BC3 and found the issue to be fixed ✔️ .

Build Details:

Version: 8.8 BC3
Commit:85b22d307ab93fca95c1698ede4cb61d85f3d314
Build:62994

Screen-Cast:

  • Security > Dashboards > Overview
Overview.-.Kibana.-.Google.Chrome.2023-05-11.13-30-38.mp4
  • Security > Cases > a specific case

Hence we are Closing this issue and adding QA:Validated label to it.

thanks !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Charts Security Solution Lens Charts feature fixed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team v8.8.0
Projects
None yet
Development

No branches or pull requests

6 participants