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

[ResponseOps][MW] Auto delete archived MWs #198557

Open
cnasikas opened this issue Oct 31, 2024 · 1 comment
Open

[ResponseOps][MW] Auto delete archived MWs #198557

cnasikas opened this issue Oct 31, 2024 · 1 comment
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@cnasikas
Copy link
Member

Maintenance windows can be archived from the UI but they are not deleted. We should use the task manager and delete archived MWs periodically. The docs also state Archived: It is archived. In a future release, archived maintenance windows will be queued for deletion.

DoD

  • Create a task, using the task manager, that will run once per day and delete any archived MWs.
  • The task should be of low priority and should not affect the rule execution.
  • The task should delete the MWs in bulk and not all at once to avoid performance issues.
  • The task should use the internal user to delete the MWs.
  • Update the docs to state that the archived MWs are deleted periodically.
@cnasikas cnasikas added Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Oct 31, 2024
@elasticmachine
Copy link
Contributor

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

@cnasikas cnasikas changed the title [ResponseOps][MW] Delete archived MWs [ResponseOps][MW] Auto delete archived MWs Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

2 participants