Add option to disable the send of acknowledgement alerts. (#15208)

This commit is contained in:
not-known
2023-11-13 21:56:06 -06:00
committed by GitHub
parent f59388d7f9
commit cf69a00cd0
7 changed files with 47 additions and 12 deletions
@@ -47,6 +47,7 @@ if (is_numeric($rule_id)) {
'invert' => Config::get('alert_rule.invert_rule_match'),
'interval' => 60 * Config::get('alert_rule.interval'),
'recovery' => Config::get('alert_rule.recovery_alerts'),
'acknowledgement' => Config::get('alert_rule.acknowledgement_alerts'),
];
$output = [
'status' => 'ok',