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

Component REST API
Title host_config: validate datatype for host attribute properly
Date May 14, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
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.

To the list of all Werks