-
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
[Entity Store] Add enablement errors to entity store management page #198668
[Entity Store] Add enablement errors to entity store management page #198668
Conversation
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
iconType="alert" | ||
> | ||
<p> | ||
{(deleteEntityEngineMutation.error as { body: { message: string } }).body.message} |
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.
Is there a way we can add this to the mutation typing?
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.
probably, there's a refactor issue already here
I'll add a comment there
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.
useMutation<DataType, ErrorType>
receive accepts types, the first is the data and the second the error.
So, the change would be on useInitEntityEngineMutation
function.
Starting backport for target branches: 8.16, 8.x |
💚 Build Succeeded
Metrics [docs]Async chunks
|
…lastic#198668) ## Summary This PR adds callouts for any errors that occur during entity store enablement and deletion from the management page. These are the same callouts as currently seen in the Entity Analytics dashboard. ![Screenshot 2024-11-01 at 13 31 47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0) (cherry picked from commit 4a0a736)
…lastic#198668) ## Summary This PR adds callouts for any errors that occur during entity store enablement and deletion from the management page. These are the same callouts as currently seen in the Entity Analytics dashboard. ![Screenshot 2024-11-01 at 13 31 47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0) (cherry picked from commit 4a0a736)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…t page (#198668) (#198784) # Backport This will backport the following commits from `main` to `8.16`: - [[Entity Store] Add enablement errors to entity store management page (#198668)](#198668) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tiago Vila Verde","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-04T13:57:32Z","message":"[Entity Store] Add enablement errors to entity store management page (#198668)\n\n## Summary\r\n\r\nThis PR adds callouts for any errors that occur during entity store\r\nenablement and deletion from the management page. These are the same\r\ncallouts as currently seen in the Entity Analytics dashboard.\r\n\r\n![Screenshot 2024-11-01 at 13 31\r\n47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0)","sha":"4a0a73674e5f51d4296e121537dd59dd63eef589","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Entity Analytics","v8.16.0","backport:version","v8.17.0"],"title":"[Entity Store] Add enablement errors to entity store management page","number":198668,"url":"https://github.com/elastic/kibana/pull/198668","mergeCommit":{"message":"[Entity Store] Add enablement errors to entity store management page (#198668)\n\n## Summary\r\n\r\nThis PR adds callouts for any errors that occur during entity store\r\nenablement and deletion from the management page. These are the same\r\ncallouts as currently seen in the Entity Analytics dashboard.\r\n\r\n![Screenshot 2024-11-01 at 13 31\r\n47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0)","sha":"4a0a73674e5f51d4296e121537dd59dd63eef589"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198668","number":198668,"mergeCommit":{"message":"[Entity Store] Add enablement errors to entity store management page (#198668)\n\n## Summary\r\n\r\nThis PR adds callouts for any errors that occur during entity store\r\nenablement and deletion from the management page. These are the same\r\ncallouts as currently seen in the Entity Analytics dashboard.\r\n\r\n![Screenshot 2024-11-01 at 13 31\r\n47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0)","sha":"4a0a73674e5f51d4296e121537dd59dd63eef589"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Tiago Vila Verde <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
1 similar comment
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
… page (#198668) (#198785) # Backport This will backport the following commits from `main` to `8.x`: - [[Entity Store] Add enablement errors to entity store management page (#198668)](#198668) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tiago Vila Verde","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-04T13:57:32Z","message":"[Entity Store] Add enablement errors to entity store management page (#198668)\n\n## Summary\r\n\r\nThis PR adds callouts for any errors that occur during entity store\r\nenablement and deletion from the management page. These are the same\r\ncallouts as currently seen in the Entity Analytics dashboard.\r\n\r\n![Screenshot 2024-11-01 at 13 31\r\n47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0)","sha":"4a0a73674e5f51d4296e121537dd59dd63eef589","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Entity Analytics","v8.16.0","backport:version","v8.17.0"],"title":"[Entity Store] Add enablement errors to entity store management page","number":198668,"url":"https://github.com/elastic/kibana/pull/198668","mergeCommit":{"message":"[Entity Store] Add enablement errors to entity store management page (#198668)\n\n## Summary\r\n\r\nThis PR adds callouts for any errors that occur during entity store\r\nenablement and deletion from the management page. These are the same\r\ncallouts as currently seen in the Entity Analytics dashboard.\r\n\r\n![Screenshot 2024-11-01 at 13 31\r\n47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0)","sha":"4a0a73674e5f51d4296e121537dd59dd63eef589"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198668","number":198668,"mergeCommit":{"message":"[Entity Store] Add enablement errors to entity store management page (#198668)\n\n## Summary\r\n\r\nThis PR adds callouts for any errors that occur during entity store\r\nenablement and deletion from the management page. These are the same\r\ncallouts as currently seen in the Entity Analytics dashboard.\r\n\r\n![Screenshot 2024-11-01 at 13 31\r\n47](https://github.com/user-attachments/assets/162074c2-e977-4e12-a9a1-50efbd7f74b0)","sha":"4a0a73674e5f51d4296e121537dd59dd63eef589"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Tiago Vila Verde <[email protected]>
Summary
This PR adds callouts for any errors that occur during entity store enablement and deletion from the management page. These are the same callouts as currently seen in the Entity Analytics dashboard.