Werk #15431: rule: Return a 404 when a rule doesn't exist on the GET endpoint

Component REST API
Title rule: Return a 404 when a rule doesn't exist on the GET endpoint
Date Mar 2, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p24 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This werk is to fix an issue with the GET rule endpoint. Previously the response contained a bug report when the rule didn't exist. Now we conform to our other endpoints and return a 404 problem response.

To the list of all Werks