forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RAM][SECURITYSOLUTION][ALERTS] - Throw an error when user tries to s…
…et schedule interval shorter than any action frequency (elastic#156644) ## Summary These changes insure that alerting framework throws an exception when user tries to set rule's schedule interval shorter than one of the action frequencies. The message will look like: `"message": "Error updating rule: the interval is longer than the action frequencies: 1h"` TheUI changes will be addressed in the 8.9 in this ticket elastic#155502 --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
b5fc7c4
commit e1ee019
Showing
2 changed files
with
96 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters