Skip to content

Commit

Permalink
[Cloud Security] Fixed an issue with Host.name Alerts contextual flyo…
Browse files Browse the repository at this point in the history
…ut (elastic#200626)

## Summary

This PR addresses issue with Alerts flyout on host.name. Users are
unable to to open Flyout via clicking Expand flyout (Missing this) and
also unable to close Alerts datagrid

## Issue
<img width="1728" alt="Screenshot 2024-11-18 at 9 43 24 AM"
src="https://github.com/user-attachments/assets/768729ac-b7e7-4bac-a6a6-253ad183b4bb">

## Fix
<img width="1725" alt="Screenshot 2024-11-18 at 9 44 05 AM"
src="https://github.com/user-attachments/assets/25044a1c-924f-48f1-8f41-51d5f5797b28">
  • Loading branch information
animehart authored Nov 19, 2024
1 parent 742ae9f commit e05d834
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 e05d834

Please sign in to comment.