Werk #22668 · Nov 12, 26
REST API: Fix crash on incomplete Event Console condition in notification rules
Creating or editing a notification rule through the REST API failed with an internal server error (KeyError) if the event_console_alerts condition used the match type match_only_event_console_alerts and its values did not contain all of match_rule_ids, match_syslog_priority, match_syslog_facility and match_event_comment.
Fields that are left out are now treated as disabled, as for the other conditions.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p22All Editions