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][Rules] Allow users to delete snooze schedule from a rule #213247

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

js-jankisalvi
Copy link
Contributor

@js-jankisalvi js-jankisalvi commented Mar 5, 2025

Summary

Resolves #198783

This PR allows to delete existing snooze schedule from a rule using schedule id.

Checklist

How to test

  • Create a rule in kibana
  • Snooze that rule via new public API
  • delete that snooze schedule via public api

Method: DELETE
Path: https://localhost:5601/api/alerting/rule/<ruleId>/snooze_schedule/<scheduleId>

Release note

Allow users to delete a snooze schedule from a rule using schedule id

@js-jankisalvi js-jankisalvi added release_note:enhancement Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Alerting/RulesManagement Issues related to the Rules Management UX backport:version Backport to applied version labels v9.1.0 v8.19.0 labels Mar 5, 2025
@js-jankisalvi js-jankisalvi self-assigned this Mar 5, 2025
@js-jankisalvi js-jankisalvi requested a review from a team as a code owner March 5, 2025 14:17
@elasticmachine
Copy link
Contributor

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

…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/fleet --include-path /api/dashboards --update'
@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 5, 2025

💔 Build Failed

Failed CI Steps

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/test-suites-xpack 723 725 +2

Total ESLint disabled count

id before after diff
@kbn/test-suites-xpack 749 751 +2

History

cc @js-jankisalvi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels Feature:Alerting/RulesManagement Issues related to the Rules Management UX release_note:enhancement Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ResponseOps][Rules] Provide public APIs to snooze and unsnooze rules
3 participants