Skip to content

Commit d1333cf

Browse files
animehartCAWilson94
authored andcommitted
[Cloud Security] Fixed an issue with Host.name Alerts contextual flyout (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">
1 parent 8bf9487 commit d1333cf

File tree

2 files changed

+5
-2
lines changed
  • x-pack/plugins/security_solution/public

2 files changed

+5
-2
lines changed

x-pack/plugins/security_solution/public/cloud_security_posture/components/alerts/alerts_preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export const AlertsPreview = ({
225225
<EuiText
226226
size="xs"
227227
css={{
228-
fontWeight: euiTheme.font.weight.semiBold,
228+
fontWeight: euiTheme.font.weight.bold,
229229
}}
230230
>
231231
<FormattedMessage

x-pack/plugins/security_solution/public/flyout/entity_details/host_right/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,10 @@ export const HostPanel = ({
216216
<FlyoutNavigation
217217
flyoutIsExpandable={
218218
!isPreviewMode &&
219-
(isRiskScoreExist || hasMisconfigurationFindings || hasVulnerabilitiesFindings)
219+
(isRiskScoreExist ||
220+
hasMisconfigurationFindings ||
221+
hasVulnerabilitiesFindings ||
222+
hasNonClosedAlerts)
220223
}
221224
expandDetails={openDefaultPanel}
222225
/>

0 commit comments

Comments
 (0)