Werk #23097: REST API: crash on a rule value of unknown shape
| Component | REST API | ||||||
| Title | REST API: crash on a rule value of unknown shape | ||||||
| Date | Nov 12, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Creating or editing a rule via the REST API crashed with an internal
server error and a crash report, for example KeyError:
'piggybacked_hostname_expressions', when the value_raw had a shape
that the ruleset could not read. This happened for rulesets that
convert older value formats, such as "Processing of piggybacked host
data".
The REST API now rejects such a value with status 400 and names the part of the value it could not read.