-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] Update rule link in cases activities #198836
Conversation
90f1f50
to
464e663
Compare
464e663
to
154b815
Compare
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x-pack/plugins/cases/public/components/user_actions/comment/alert_event.tsx
Outdated
Show resolved
Hide resolved
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11713265440 |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
|
) ## Summary As a follow up to elastic#191764, this PR updates rule names in `Activity` tab in cases to open a rule flyout instead of going to rule details page. **Security solution changes**: replace rule page navigation with a `openFlyout` call **Cases plugin changes**: update the rules link component to accept either `href` or `onClick`. ![image](https://github.com/user-attachments/assets/c5dca885-61b8-4481-adfa-f9e615a01265) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 09dd66d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…) (#199242) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Update rule link in cases activities (#198836)](#198836) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-06T22:57:55Z","message":"[Security Solution] Update rule link in cases activities (#198836)\n\n## Summary\r\n\r\nAs a follow up to #191764, this PR\r\nupdates rule names in `Activity` tab in cases to open a rule flyout\r\ninstead of going to rule details page.\r\n\r\n**Security solution changes**: replace rule page navigation with a\r\n`openFlyout` call\r\n**Cases plugin changes**: update the rules link component to accept\r\neither `href` or `onClick`.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/c5dca885-61b8-4481-adfa-f9e615a01265)\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"09dd66d355fbb32fa0090e36945819a9509138c6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport","v9.0.0","Team:Threat Hunting","v8.17.0"],"title":"[Security Solution] Update rule link in cases activities","number":198836,"url":"https://github.com/elastic/kibana/pull/198836","mergeCommit":{"message":"[Security Solution] Update rule link in cases activities (#198836)\n\n## Summary\r\n\r\nAs a follow up to #191764, this PR\r\nupdates rule names in `Activity` tab in cases to open a rule flyout\r\ninstead of going to rule details page.\r\n\r\n**Security solution changes**: replace rule page navigation with a\r\n`openFlyout` call\r\n**Cases plugin changes**: update the rules link component to accept\r\neither `href` or `onClick`.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/c5dca885-61b8-4481-adfa-f9e615a01265)\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"09dd66d355fbb32fa0090e36945819a9509138c6"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198836","number":198836,"mergeCommit":{"message":"[Security Solution] Update rule link in cases activities (#198836)\n\n## Summary\r\n\r\nAs a follow up to #191764, this PR\r\nupdates rule names in `Activity` tab in cases to open a rule flyout\r\ninstead of going to rule details page.\r\n\r\n**Security solution changes**: replace rule page navigation with a\r\n`openFlyout` call\r\n**Cases plugin changes**: update the rules link component to accept\r\neither `href` or `onClick`.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/c5dca885-61b8-4481-adfa-f9e615a01265)\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"09dd66d355fbb32fa0090e36945819a9509138c6"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: christineweng <[email protected]>
) ## Summary As a follow up to elastic#191764, this PR updates rule names in `Activity` tab in cases to open a rule flyout instead of going to rule details page. **Security solution changes**: replace rule page navigation with a `openFlyout` call **Cases plugin changes**: update the rules link component to accept either `href` or `onClick`. ![image](https://github.com/user-attachments/assets/c5dca885-61b8-4481-adfa-f9e615a01265) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Summary
As a follow up to #191764, this PR updates rule names in
Activity
tab in cases to open a rule flyout instead of going to rule details page.Security solution changes: replace rule page navigation with a
openFlyout
callCases plugin changes: update the rules link component to accept either
href
oronClick
.Checklist