[Security Solution] KPI visualizations on Alerts Page#149173
Merged
christineweng merged 22 commits intoelastic:mainfrom Jan 30, 2023
Merged
[Security Solution] KPI visualizations on Alerts Page#149173christineweng merged 22 commits intoelastic:mainfrom
christineweng merged 22 commits intoelastic:mainfrom
Conversation
…into 8.7_Summary_Charts
29b4b24 to
de009c2
Compare
Contributor
|
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Contributor
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
remove draggable path fix ci uuid ref
a70a3a8 to
a856305
Compare
stephmilovic
approved these changes
Jan 24, 2023
Contributor
stephmilovic
left a comment
There was a problem hiding this comment.
Explore changes LGTM, thanks!
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
Author
|
@elasticmachine merge upstream |
...lution/public/detections/components/alerts_kpis/alerts_by_type_panel/alerts_by_type.test.tsx
Outdated
Show resolved
Hide resolved
...lution/public/detections/components/alerts_kpis/alerts_by_type_panel/alerts_by_type.test.tsx
Show resolved
Hide resolved
...n/public/detections/components/alerts_kpis/alerts_progress_bar_panel/alerts_progress_bar.tsx
Outdated
Show resolved
Hide resolved
...rity_solution/public/detections/components/alerts_kpis/alerts_progress_bar_panel/helpers.tsx
Outdated
Show resolved
Hide resolved
michaelolo24
approved these changes
Jan 30, 2023
Contributor
michaelolo24
left a comment
There was a problem hiding this comment.
This looks great! Reviewed the code, pulled down and tested, and everything works well! Just add a couple translations and we should be good to go! Thanks!
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
4 tasks
kqualters-elastic
pushed a commit
to kqualters-elastic/kibana
that referenced
this pull request
Feb 6, 2023
## Summary This PR is a part 2 of elastic#146938 that populates the remaining 2 charts for the summary section on Alerts Page. Capabilities added - Alerts by type: alert count by rule and by type (prevention vs. detection) - Top alerts: top 10 alert grouping based on user selected drop down Changes from previous PR - Refactor `useSeverityChartData` to `useSummaryChartData` so that it can be used by all 3 charts to fetch data - Move `SeverityLevel` chart up one level to `alerts_kpi` folder to better isolate components for testing. Feature flag: `alertsPageChartsEnabled`  ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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 - [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
christineweng
added a commit
that referenced
this pull request
Feb 7, 2023
…150242) ## Summary This PR is part 3 of #149173 and #146938 that add additional KPI visualizations to the Alerts page. #### Capabilities added Charts menu: changed from a drop down selection to tabs format, with wording that better describe the usage of each charts Chart collapse: when the toggle is collapsed, instead of showing the same menu options, a summary of the KPIs are shown. Feature flag: `alertsPageChartsEnabled` is set to true by default #### Changes from previous PR Before this PR, each chart (trend, tree map etc.) keeps its own state of toggle status. This is no longer suitable because the new layout does not show options when collapsed. This PR also moves the toggle status to be at the chart panel's level, and be passed down to each chart component. One exception is the histogram (trend analysis), it is currently being used in alerts detail page and overview dashboard, hence it needs to keep track of toggle state on its own. #### When charts are expanded  #### When collapsed and has data  #### When collapsed with no data  ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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 - [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR is a part 2 of #146938 that populates the remaining 2 charts for the summary section on Alerts Page.
Capabilities added
Changes from previous PR
useSeverityChartDatatouseSummaryChartDataso that it can be used by all 3 charts to fetch dataSeverityLevelchart up one level toalerts_kpifolder to better isolate components for testing.Feature flag:
alertsPageChartsEnabledChecklist
Delete any items that are not applicable to this PR.
For maintainers