From 921d2aa2f0433cc503d2db7461415b7ecd12e5b3 Mon Sep 17 00:00:00 2001
From: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
Date: Wed, 29 Jul 2020 01:15:42 -0400
Subject: [PATCH] [SECURITY_SOLUTION] Task/add detections rule text (#73596)
(#73614)
---
.../view/policy_forms/protections/malware.tsx | 29 ++++++++++++++++++-
.../components/endpoint_notice/index.tsx | 4 +--
2 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/protections/malware.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/protections/malware.tsx
index 23ac6cc5b813d..433bf6af2af77 100644
--- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/protections/malware.tsx
+++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_forms/protections/malware.tsx
@@ -7,9 +7,18 @@
import React, { useCallback, useMemo } from 'react';
import { useDispatch } from 'react-redux';
import styled from 'styled-components';
-import { EuiRadio, EuiSwitch, EuiTitle, EuiSpacer, htmlIdGenerator } from '@elastic/eui';
+import {
+ EuiRadio,
+ EuiSwitch,
+ EuiTitle,
+ EuiSpacer,
+ htmlIdGenerator,
+ EuiCallOut,
+} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n/react';
+import { APP_ID } from '../../../../../../../common/constants';
+import { SecurityPageName } from '../../../../../../app/types';
import { Immutable, ProtectionModes } from '../../../../../../../common/endpoint/types';
import { OS, MalwareProtectionOSes } from '../../../types';
@@ -17,6 +26,7 @@ import { ConfigForm } from '../config_form';
import { policyConfig } from '../../../store/policy_details/selectors';
import { usePolicyDetailsSelector } from '../../policy_hooks';
import { clone } from '../../../models/policy_details_config';
+import { LinkToApp } from '../../../../../../common/components/endpoint/link_to_app';
const ProtectionRadioGroup = styled.div`
display: flex;
@@ -180,6 +190,23 @@ export const MalwareProtections = React.memo(() => {
rightCorner={protectionSwitch}
>
{radioButtons}
+
+
+
+
+
+ ),
+ }}
+ />
+
);
});
diff --git a/x-pack/plugins/security_solution/public/overview/components/endpoint_notice/index.tsx b/x-pack/plugins/security_solution/public/overview/components/endpoint_notice/index.tsx
index 7170412cb55ad..1d726a7dbd901 100644
--- a/x-pack/plugins/security_solution/public/overview/components/endpoint_notice/index.tsx
+++ b/x-pack/plugins/security_solution/public/overview/components/endpoint_notice/index.tsx
@@ -33,7 +33,7 @@ export const EndpointNotice = memo<{ onDismiss: () => void }>(({ onDismiss }) =>
>
}
@@ -49,7 +49,7 @@ export const EndpointNotice = memo<{ onDismiss: () => void }>(({ onDismiss }) =>