Werk #22667: REST API: Reject notification rule HTTP proxy enabled without value
| Component | REST API | ||||
| Title | REST API: Reject notification rule HTTP proxy enabled without value | ||||
| Date | Nov 12, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Incompatible - Manual interaction might be required | ||||
| Checkmk versions & editions |
|
When creating or editing a notification rule through the REST API, the http_proxy parameter of a notification method could be sent with "state": "enabled" but without a value. Such a request was accepted, but the rule was saved without an HTTP proxy.
The REST API now rejects such requests with status code 400.
Scripts that send http_proxy this way must either add a value or send "state": "disabled". The latter results in the same rule as before.