mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Cloud Security] Fixed an issue with Host.name Alerts contextual flyout (#200626)](https://github.com/elastic/kibana/pull/200626) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Rickyanto Ang","email":"rickyangwyn@gmail.com"},"sourceCommit":{"committedDate":"2024-11-19T09:20:37Z","message":"[Cloud Security] Fixed an issue with Host.name Alerts contextual flyout (#200626)\n\n## Summary\r\n\r\nThis PR addresses issue with Alerts flyout on host.name. Users are\r\nunable to to open Flyout via clicking Expand flyout (Missing this) and\r\nalso unable to close Alerts datagrid\r\n\r\n## Issue\r\n<img width=\"1728\" alt=\"Screenshot 2024-11-18 at 9 43 24 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/768729ac-b7e7-4bac-a6a6-253ad183b4bb\">\r\n\r\n## Fix\r\n<img width=\"1725\" alt=\"Screenshot 2024-11-18 at 9 44 05 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/25044a1c-924f-48f1-8f41-51d5f5797b28\">","sha":"e05d83486b7f2229940d2c4d90549bf84cd23585","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud Security","backport:prev-minor","backport:version","v8.17.0"],"title":"[Cloud Security] Fixed an issue with Host.name Alerts contextual flyout","number":200626,"url":"https://github.com/elastic/kibana/pull/200626","mergeCommit":{"message":"[Cloud Security] Fixed an issue with Host.name Alerts contextual flyout (#200626)\n\n## Summary\r\n\r\nThis PR addresses issue with Alerts flyout on host.name. Users are\r\nunable to to open Flyout via clicking Expand flyout (Missing this) and\r\nalso unable to close Alerts datagrid\r\n\r\n## Issue\r\n<img width=\"1728\" alt=\"Screenshot 2024-11-18 at 9 43 24 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/768729ac-b7e7-4bac-a6a6-253ad183b4bb\">\r\n\r\n## Fix\r\n<img width=\"1725\" alt=\"Screenshot 2024-11-18 at 9 44 05 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/25044a1c-924f-48f1-8f41-51d5f5797b28\">","sha":"e05d83486b7f2229940d2c4d90549bf84cd23585"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200626","number":200626,"mergeCommit":{"message":"[Cloud Security] Fixed an issue with Host.name Alerts contextual flyout (#200626)\n\n## Summary\r\n\r\nThis PR addresses issue with Alerts flyout on host.name. Users are\r\nunable to to open Flyout via clicking Expand flyout (Missing this) and\r\nalso unable to close Alerts datagrid\r\n\r\n## Issue\r\n<img width=\"1728\" alt=\"Screenshot 2024-11-18 at 9 43 24 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/768729ac-b7e7-4bac-a6a6-253ad183b4bb\">\r\n\r\n## Fix\r\n<img width=\"1725\" alt=\"Screenshot 2024-11-18 at 9 44 05 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/25044a1c-924f-48f1-8f41-51d5f5797b28\">","sha":"e05d83486b7f2229940d2c4d90549bf84cd23585"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Rickyanto Ang <rickyangwyn@gmail.com>
This commit is contained in:
parent
0ee05fe587
commit
1cd1b5c2cc
2 changed files with 5 additions and 2 deletions
|
@ -225,7 +225,7 @@ export const AlertsPreview = ({
|
|||
<EuiText
|
||||
size="xs"
|
||||
css={{
|
||||
fontWeight: euiTheme.font.weight.semiBold,
|
||||
fontWeight: euiTheme.font.weight.bold,
|
||||
}}
|
||||
>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -216,7 +216,10 @@ export const HostPanel = ({
|
|||
<FlyoutNavigation
|
||||
flyoutIsExpandable={
|
||||
!isPreviewMode &&
|
||||
(isRiskScoreExist || hasMisconfigurationFindings || hasVulnerabilitiesFindings)
|
||||
(isRiskScoreExist ||
|
||||
hasMisconfigurationFindings ||
|
||||
hasVulnerabilitiesFindings ||
|
||||
hasNonClosedAlerts)
|
||||
}
|
||||
expandDetails={openDefaultPanel}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue