elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
20.35k stars 8.33k forks source link

[Response Ops][Alerting] Implement alert deletion API #208789

Open ymao1 opened 1 month ago

ymao1 commented 1 month ago

Blocked by https://github.com/elastic/kibana/issues/208615

We would like to allow users the ability to delete their alerts based on certain configuration conditions. To do this, we would like to create a new task type that is scheduled ad-hoc using an HTTP API. This ability will be controlled by a new rules settings subfeature privilege. This issue addresses the API that is required to ad-hoc schedule the task created in https://github.com/elastic/kibana/issues/208615

API

We need the following HTTP APIs

The following API can start as internal but do we want to make it public in the future so users can pass multiple spaces?

All of these APIs should check that the requesting user has the correct rules setting feature privilege.

Definition of done

elasticmachine commented 1 month ago

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