Werk #15615: Disallow Specifying Invalid Ports in Rulesets

Komponente Setup
Titel Disallow Specifying Invalid Ports in Rulesets
Datum 17.05.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

With this Werk, it is no longer possible to specify ports outside of the range 1 to 65535. This affects rules such as Amazon Web Services (AWS). In case you have an invalid port, the following error will be shown while updating.

-| WARNING: Invalid rule configuration detected
-| Ruleset: special_agents:aws
-| Title: Amazon Web Services (AWS)
-| Folder: main
-| Rule nr: 1
-| Exception: -1 is too low. The minimum allowed value is 1.
-|
-| You can abort the update process (A) and try to fix the incompatibilities with a downgrade to the version you came from or continue (c) the update.
-|
-| Abort update? [A/c]

In this case, you should continue the update, and follow the instructions provided. For example:

-| WARNING: Invalid rule configuration detected (Ruleset: special_agents:aws, Title: Amazon Web Services (AWS), Folder: ,
-| Rule nr: 1, Exception: -1 is too low. The minimum allowed value is 1.)
-| Detected 1 issue(s) in configured rules.
-| To correct these issues, we recommend to open the affected rules in the GUI.
-| Upon attempting to save them, any problematic fields will be highlighted.

Zur Liste aller Werks