Skip to content

Commit

Permalink
[8.x] [Cloud Security] Fixed an issue with Host.name Alerts contextua…
Browse files Browse the repository at this point in the history
…l flyout (elastic#200626) (elastic#200688)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security] Fixed an issue with Host.name Alerts contextual
flyout (elastic#200626)](elastic#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
(elastic#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
(elastic#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
(elastic#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>
  • Loading branch information
kibanamachine and animehart authored Nov 19, 2024
1 parent 0ee05fe commit 1cd1b5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const AlertsPreview = ({
<EuiText
size="xs"
css={{
fontWeight: euiTheme.font.weight.semiBold,
fontWeight: euiTheme.font.weight.bold,
}}
>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ export const HostPanel = ({
<FlyoutNavigation
flyoutIsExpandable={
!isPreviewMode &&
(isRiskScoreExist || hasMisconfigurationFindings || hasVulnerabilitiesFindings)
(isRiskScoreExist ||
hasMisconfigurationFindings ||
hasVulnerabilitiesFindings ||
hasNonClosedAlerts)
}
expandDetails={openDefaultPanel}
/>
Expand Down

0 comments on commit 1cd1b5c

Please sign in to comment.