-
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
[Actions] Do not return system actions from GET
APIs
#161845
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
I'm curious what this might break :-) Basically, in the framework, as it's running, using the API client itself to do things; I guess mainly alerting. At first I was thinking this might be blocking at the HTTP level, which seems probably fine (but who knows!), but blocking at the client API seems a lot more likely to break things ... |
You are right @pmuellr. Also, we may need to access system actions and the actions client is the only way to do it (although we can expose dedicate functions for system actions). About the APIs, until we know what we want to do with them, it is better to not return system actions as removing them afterwards will be a breaking change. |
@mikecote @pmuellr I applied the changes we discussed offline. The API will not return the system actions but the actions client will accept an option to return the system actions from the |
buildkite test this |
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!
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @cnasikas |
## Summary This PR removes the ability to get system actions from `GET` APIs. Specifically: - The Get action API throws a 404 error when requesting a system action - The Bulk Get action API throws a 404 error when requesting a system action - The Get All API filters out system actions - The Get List Types API filters out system actions ### Checklist Delete any items that are not applicable to this PR. - [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 ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Summary
This PR removes the ability to get system actions from
GET
APIs. Specifically:Checklist
Delete any items that are not applicable to this PR.
For maintainers