Werk #16788: notification_rules: encryption type now an enum

Component REST API
Title notification_rules: encryption type now an enum
Date Jun 5, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When creating a notification rule via the REST-API with the plugin 'asciimail', and configuring the 'enable_sync_smtp field', you could previously set the subfield 'encryption' to any string. Any string is not a valid encryption type.

This werk addresses this issue by having this field be an enum of two values which are "ssl_tls" or "starttls". This aligns with the options found in the UI for the same plugin.

select

To the list of all Werks