Skip to content

Delete old alert rules when moving rules between folders #2195

@chenlujjj

Description

@chenlujjj

Is your feature request related to a problem? Please describe.

I updated the alert rule groups folder, e.g. from folder A to folder B, but found that the old rules are still in folder A. And since they're provisioned, I had to delete them one by one via API call.

Describe the solution you'd like
When updating rule groups' folder, the controller should delete the old rules.

Metadata

Metadata

Assignees

Labels

triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions