Werk #16758: host_config: validate datatype for host attribute properly

Komponente REST API
Titel host_config: validate datatype for host attribute properly
Datum 14.05.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Prior to this werk, the datatype was not properly validated allowing wrong values to be specified for host attributes. For instance, the parent attribute allowed a string instead of a list of strings which subsequently led to an internal error. This werk fixes this issue.

Zur Liste aller Werks