-
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][Case] Attach/Sync alert to case: Fix toast messages #87206
Conversation
1383bc9
to
12dba72
Compare
@@ -89,7 +70,7 @@ export const useUpdateCase = ({ caseId }: { caseId: string }): UseUpdateCase => | |||
updateKey, | |||
updateValue, | |||
updateCase, | |||
version, | |||
caseData, |
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.
We need to know when updating the case if it has alerts. For that reason, we replaced the version
with the whole Case
object.
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Distributable file count
History
To update your PR or re-run it, just comment with: |
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.
Well done! Thanks for the tests too. I tested all scenarios and works as expected. LGTM 🏎️
…messages (#87206) (#87443) Co-authored-by: Kibana Machine <[email protected]>
Summary
This PR fixes the toaster messages that are being displayed when attaching or synching alerts with cases. Specifically:
Fixes: #85998
Checklist
Delete any items that are not applicable to this PR.
For maintainers