Skip to content
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] Expose an API UI client from the start method of the actions plugin #160902

Open
2 tasks
cnasikas opened this issue Jun 29, 2023 · 3 comments
Open
2 tasks
Labels
Feature:Actions/Framework Issues related to the Actions Framework Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@cnasikas
Copy link
Member

There are plugins that use the Actions API directly in the UI. We should expose an API UI client from the start method of the actions plugin (public) for them to consume. This way we can do changes in the API without affecting other teams. This will also be helpful when versioning our endpoints.

APIs to expose:

  • Get connectors
  • Get action types
@cnasikas cnasikas added Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Actions/Framework Issues related to the Actions Framework labels Jun 29, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@pmuellr
Copy link
Member

pmuellr commented Jun 29, 2023

Feels like this would be a good fit for alerting as well. Not being familiar with what the client alerting plugin returns, I took a peek - and it's just navigation stuff. So we'd probably do both.

I wonder if this will be a lot easier with the open API stuff - maybe we could generate a client? Actually, I think that's a common use-case for Open API ... :-)

@cnasikas
Copy link
Member Author

cnasikas commented Jun 30, 2023

Good point Patrick regarding the alerting plugin. We should do the same. If we could generate the client from the Open API it will be amazing!!

cc @XavierM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Actions/Framework Issues related to the Actions Framework Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

No branches or pull requests

3 participants