Skip to content

Commit

Permalink
Fix detection rules link for memory and behaviour protections cards (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
academo authored and kibanamachine committed Aug 23, 2021
1 parent d17d2e7 commit 9182d2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const BehaviorProtection = React.memo(() => {
defaultMessage="View {detectionRulesLink}. Prebuilt rules are tagged “Elastic” on the Detection Rules page."
values={{
detectionRulesLink: (
<LinkToApp appId={`${APP_ID}:${SecurityPageName.detections}`} appPath={`/rules`}>
<LinkToApp appId={APP_ID} deepLinkId={SecurityPageName.rules}>
<FormattedMessage
id="xpack.securitySolution.endpoint.policy.details.detectionRulesLink"
defaultMessage="related detection rules"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const MemoryProtection = React.memo(() => {
defaultMessage="View {detectionRulesLink}. Prebuilt rules are tagged “Elastic” on the Detection Rules page."
values={{
detectionRulesLink: (
<LinkToApp appId={`${APP_ID}:${SecurityPageName.detections}`} appPath={`/rules`}>
<LinkToApp appId={APP_ID} deepLinkId={SecurityPageName.rules}>
<FormattedMessage
id="xpack.securitySolution.endpoint.policy.details.detectionRulesLink"
defaultMessage="related detection rules"
Expand Down

0 comments on commit 9182d2f

Please sign in to comment.