Werk #16619: Ruleset API: Ruleset validation

Komponente Checks & agents
Titel Ruleset API: Ruleset validation
Datum 11.03.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Rulespec/ruleset names now have to be valid python identifiers that are not reserved keywords. This also applies to choice identifiers in FormSpecs.

The validation occurs during instantiation and will raise a ValueError when a violation is found.

Zur Liste aller Werks