Skip to content

Commit

Permalink
[8.17] [Cloud Security][Bug] Fix for Page Crashing (elastic#203028) (e…
Browse files Browse the repository at this point in the history
…lastic#203143)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Cloud Security][Bug] Fix for Page Crashing
(elastic#203028)](elastic#203028)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Rickyanto
Ang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-05T14:35:42Z","message":"[Cloud
Security][Bug] Fix for Page Crashing (elastic#203028)\n\n## Summary\r\n\r\nThis
PR is for quick fix to address issue with Page crashing when
user\r\nclicks on user name or host name on preview flyout for Alerts
Contextual\r\nFlyout","sha":"06b774e78886bf914cc51a2d99497427a8c2a9e6","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.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"],"number":203028,"url":"https://github.com/elastic/kibana/pull/203028","mergeCommit":{"message":"[Cloud
Security][Bug] Fix for Page Crashing (elastic#203028)\n\n## Summary\r\n\r\nThis
PR is for quick fix to address issue with Page crashing when
user\r\nclicks on user name or host name on preview flyout for Alerts
Contextual\r\nFlyout","sha":"06b774e78886bf914cc51a2d99497427a8c2a9e6"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203028","number":203028,"mergeCommit":{"message":"[Cloud
Security][Bug] Fix for Page Crashing (elastic#203028)\n\n## Summary\r\n\r\nThis
PR is for quick fix to address issue with Page crashing when
user\r\nclicks on user name or host name on preview flyout for Alerts
Contextual\r\nFlyout","sha":"06b774e78886bf914cc51a2d99497427a8c2a9e6"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"url":"https://github.com/elastic/kibana/pull/203135","number":203135,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
animehart and kibanamachine authored Dec 5, 2024
1 parent f25fa79 commit 60e56a2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export const EntityInsight = <T,>({
const { items: alertsData } = useAlertsByStatus({
entityFilter,
signalIndexName,
queryId: DETECTION_RESPONSE_ALERTS_BY_STATUS_ID,
queryId: isPreviewMode
? `${DETECTION_RESPONSE_ALERTS_BY_STATUS_ID}ALERTS_PREVIEW_TRUE`
: `${DETECTION_RESPONSE_ALERTS_BY_STATUS_ID}ALERTS_PREVIEW_FALSE`,
to,
from,
});
Expand Down

0 comments on commit 60e56a2

Please sign in to comment.