Fix detection rules link for memory and behaviour protections cards (#109591)
This commit is contained in:
parent
65e04b1380
commit
60a74e8eaf
|
@ -51,7 +51,7 @@ export const BehaviorProtection = React.memo(() => {
|
||||||
defaultMessage="View {detectionRulesLink}. Prebuilt rules are tagged “Elastic” on the Detection Rules page."
|
defaultMessage="View {detectionRulesLink}. Prebuilt rules are tagged “Elastic” on the Detection Rules page."
|
||||||
values={{
|
values={{
|
||||||
detectionRulesLink: (
|
detectionRulesLink: (
|
||||||
<LinkToApp appId={`${APP_ID}:${SecurityPageName.detections}`} appPath={`/rules`}>
|
<LinkToApp appId={APP_ID} deepLinkId={SecurityPageName.rules}>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.securitySolution.endpoint.policy.details.detectionRulesLink"
|
id="xpack.securitySolution.endpoint.policy.details.detectionRulesLink"
|
||||||
defaultMessage="related detection rules"
|
defaultMessage="related detection rules"
|
||||||
|
|
|
@ -51,7 +51,7 @@ export const MemoryProtection = React.memo(() => {
|
||||||
defaultMessage="View {detectionRulesLink}. Prebuilt rules are tagged “Elastic” on the Detection Rules page."
|
defaultMessage="View {detectionRulesLink}. Prebuilt rules are tagged “Elastic” on the Detection Rules page."
|
||||||
values={{
|
values={{
|
||||||
detectionRulesLink: (
|
detectionRulesLink: (
|
||||||
<LinkToApp appId={`${APP_ID}:${SecurityPageName.detections}`} appPath={`/rules`}>
|
<LinkToApp appId={APP_ID} deepLinkId={SecurityPageName.rules}>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.securitySolution.endpoint.policy.details.detectionRulesLink"
|
id="xpack.securitySolution.endpoint.policy.details.detectionRulesLink"
|
||||||
defaultMessage="related detection rules"
|
defaultMessage="related detection rules"
|
||||||
|
|
Loading…
Reference in a new issue