Werk #17974: notification_rules: add update action to ensure rules have rule IDs

Component Notifications
Title notification_rules: add update action to ensure rules have rule IDs
Date Jun 3, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p34 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Previously, loading notifcation rules would cause a crash if there were any rules that were created in previous versions. This was because the attribute rule_id was misssing. This werk adds an update action to ensure that all configured notification rules have a rule id.

To the list of all Werks