Werk #14256: REST-API objects/ruleset: Change status code to 404 when ruleset doesn't exist

Komponente REST API
Titel REST-API objects/ruleset: Change status code to 404 when ruleset doesn't exist
Datum 20.05.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The objects ruleset endpoint previously returned a 500 internal server error when the ruleset didn't exist. This werk changes the status code to a 404 'Unknown ruleset'

Zur Liste aller Werks