Skip to content

Commit

Permalink
Fix detection rules link for memory and behaviour protections cards (#…
Browse files Browse the repository at this point in the history
…109591) (#109647)

Co-authored-by: Esteban Beltran <[email protected]>
  • Loading branch information
kibanamachine and academo authored Aug 23, 2021
1 parent ae06103 commit 7425cd2
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 7425cd2

Please sign in to comment.