Werk #13655: REST API host_config: fix the create and update endpoints when including a host attribute

Komponente REST API
Titel REST API host_config: fix the create and update endpoints when including a host attribute
Datum 23.02.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0b3 2.0.0p22
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

In the previous version, the create and update host endpoints returned a 500 error when the user tried to register or modify a host with attributes. This werk fixes this behaviour and returns a 400 error when an invalid attribute is included.

Zur Liste aller Werks