From b1c465d999f64bb9a805628120582d80ca8c2493 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 8 Sep 2021 10:23:17 -0400 Subject: [PATCH] [Security Solution][Endpoint][Host Isolation] Hide isolate host option in alert details rather than disabling (#111064) (#111475) Co-authored-by: Candace Park <56409205+parkiino@users.noreply.github.com> --- .../components/host_isolation/use_host_isolation_action.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security_solution/public/detections/components/host_isolation/use_host_isolation_action.tsx b/x-pack/plugins/security_solution/public/detections/components/host_isolation/use_host_isolation_action.tsx index 24bc670a13ec4..4282a584ea9f3 100644 --- a/x-pack/plugins/security_solution/public/detections/components/host_isolation/use_host_isolation_action.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/host_isolation/use_host_isolation_action.tsx @@ -80,12 +80,13 @@ export const useHostIsolationAction = ({ isIsolationAllowed && isEndpointAlert && isolationSupported && - isHostIsolationPanelOpen === false + isHostIsolationPanelOpen === false && + loadingHostIsolationStatus === false ? [ {isolateHostTitle}