Skip to content

Conversation

cnasikas
Copy link
Member

Summary

This PR prevents internally managed rule types from being snoozed/unsnoozed through the Rule Snooze and Unsnooze APIs. The prevention logic is on he route level because we want to support updating internally managed rules from the alerts client.

Partial fixes: #222101

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

@cnasikas cnasikas self-assigned this Sep 28, 2025
@cnasikas cnasikas added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v9.2.0 labels Sep 28, 2025
@cnasikas cnasikas marked this pull request as ready for review September 30, 2025 07:41
@cnasikas cnasikas requested a review from a team as a code owner September 30, 2025 07:41
@elasticmachine
Copy link
Contributor

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

@cnasikas
Copy link
Member Author

@elasticmachine merge upstream

@cnasikas cnasikas enabled auto-merge (squash) September 30, 2025 09:39
@cnasikas cnasikas merged commit f8d5d2c into elastic:main Sep 30, 2025
13 checks passed
@cnasikas cnasikas deleted the internal_snooze_unsnooze branch September 30, 2025 09:42
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @cnasikas

VladimirFilonov pushed a commit to VladimirFilonov/kibana that referenced this pull request Sep 30, 2025
…zing/unsnoozing from the APIs (elastic#236678)

## Summary

This PR prevents internally managed rule types from being
snoozed/unsnoozed through the Rule Snooze and Unsnooze APIs. The
prevention logic is on he route level because we want to support
updating internally managed rules from the alerts client.

Partial fixes: elastic#222101


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent almost all significant event rule mutations
3 participants