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] Document details flyout - update insight KPI count #196617

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

christineweng
Copy link
Contributor

@christineweng christineweng commented Oct 16, 2024

Summary

This PR made some updates to the insights KPI following #195509

  • Updated all the counts to be total alerts/misconfigurations/vulnerabilities
  • Clicking on the count badge opens timeline (alerts) or entity preview
  • Revert the order of the distribution bar for alerts to align with others
Screen.Recording.2024-10-16.at.4.49.35.PM.mov

Latest design
image

Checklist

@christineweng christineweng added backport release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Threat Hunting Security Solution Threat Hunting Team Team:Threat Hunting:Investigations Security Solution Investigations Team v8.16.0 labels Oct 16, 2024
@christineweng christineweng self-assigned this Oct 16, 2024
@christineweng christineweng requested a review from a team as a code owner October 16, 2024 21:56
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

desk tested and code LGTM. I left 3 extremely minor comments. Amazing turn around on this, awesome job @christineweng!

Let's wait on the UIUX team to confirm the patterns, but as soon as we get their green light let's merge this!

@elasticmachine
Copy link
Contributor

💚 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 20.7MB 20.7MB +7.8KB

History

cc @christineweng

@christineweng christineweng merged commit 7195141 into elastic:main Oct 17, 2024
43 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.x

https://github.com/elastic/kibana/actions/runs/11394313159

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 17, 2024
elastic#196617)

## Summary

This PR made some updates to the insights KPI following
elastic#195509

- Updated all the counts to be total
alerts/misconfigurations/vulnerabilities
- Clicking on the count badge opens timeline (alerts) or entity preview
- Revert the order of the distribution bar for alerts to align with
others

https://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6

Latest design

![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)

### Checklist

- [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

(cherry picked from commit 7195141)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 17, 2024
elastic#196617)

## Summary

This PR made some updates to the insights KPI following
elastic#195509

- Updated all the counts to be total
alerts/misconfigurations/vulnerabilities
- Clicking on the count badge opens timeline (alerts) or entity preview
- Revert the order of the distribution bar for alerts to align with
others

https://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6

Latest design

![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)

### Checklist

- [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

(cherry picked from commit 7195141)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.16
8.x

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 Oct 18, 2024
…PI count (#196617) (#196779)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] Document details flyout - update insight KPI
count (#196617)](#196617)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-17T22:57:52Z","message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com//pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
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":"71951416ca045cf0d2fee74d88faa0f717f487c6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[Security Solution] Document
details flyout - update insight KPI
count","number":196617,"url":"https://github.com/elastic/kibana/pull/196617","mergeCommit":{"message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com//pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
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":"71951416ca045cf0d2fee74d88faa0f717f487c6"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196617","number":196617,"mergeCommit":{"message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com//pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
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":"71951416ca045cf0d2fee74d88faa0f717f487c6"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <[email protected]>
kibanamachine added a commit that referenced this pull request Oct 18, 2024
…I count (#196617) (#196780)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Document details flyout - update insight KPI
count (#196617)](#196617)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-17T22:57:52Z","message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com//pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
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":"71951416ca045cf0d2fee74d88faa0f717f487c6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[Security Solution] Document
details flyout - update insight KPI
count","number":196617,"url":"https://github.com/elastic/kibana/pull/196617","mergeCommit":{"message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com//pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
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":"71951416ca045cf0d2fee74d88faa0f717f487c6"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196617","number":196617,"mergeCommit":{"message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com//pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
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":"71951416ca045cf0d2fee74d88faa0f717f487c6"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team v8.16.0 v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants