[8.6] [Security Solution] [Exceptions] fixes affects shared lists route on rule details -> view exceptions (#146448) (#146735)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] [Exceptions] fixes affects shared lists route on
rule details -> view exceptions
(#146448)](https://github.com/elastic/kibana/pull/146448)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Devin W.
Hurley","email":"devin.hurley@elastic.co"},"sourceCommit":{"committedDate":"2022-11-30T17:55:52Z","message":"[Security
Solution] [Exceptions] fixes affects shared lists route on rule details
-> view exceptions (#146448)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/144602\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ebfc715105b9d1172cb778142cc62e37b4acf8f8","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","Team:Security
Solution
Platform","backport:prev-minor","v8.6.0","v8.7.0"],"number":146448,"url":"https://github.com/elastic/kibana/pull/146448","mergeCommit":{"message":"[Security
Solution] [Exceptions] fixes affects shared lists route on rule details
-> view exceptions (#146448)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/144602\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ebfc715105b9d1172cb778142cc62e37b4acf8f8"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146448","number":146448,"mergeCommit":{"message":"[Security
Solution] [Exceptions] fixes affects shared lists route on rule details
-> view exceptions (#146448)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/144602\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ebfc715105b9d1172cb778142cc62e37b4acf8f8"}}]}]
BACKPORT-->

Co-authored-by: Devin W. Hurley <devin.hurley@elastic.co>
This commit is contained in:
Kibana Machine 2022-11-30 14:29:44 -05:00 committed by GitHub
parent 817c3c9ffd
commit 1e9de03293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,9 +133,9 @@ export const ExceptionItemCardMetaInfo = memo<ExceptionItemCardMetaInfoProps>(
<EuiToolTip content={listAndReferences.name} anchorClassName="eui-textTruncate">
<SecuritySolutionLinkAnchor
data-test-subj="ruleName"
deepLinkId={SecurityPageName.rules}
deepLinkId={SecurityPageName.exceptions}
// TODO: Update to list details URL once available
path={getRuleDetailsTabUrl(listAndReferences.id, RuleDetailTabs.alerts)}
path={`/details/${listAndReferences?.list_id}`}
external
>
{listAndReferences.name}