Werk #16285: rules: match_on items must be at least of length 1
| Component | REST API | ||
| Title | rules: match_on items must be at least of length 1 | ||
| Date | Dec 13, 2023 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
This werk addresses an issue found by our QA team on the rules collection POST endpoint
...domain-types/rule/collections/all
The match_on field requires a list of strings but didn't enforce any length. Previously, passing an empty string would provoke a crash. We now enforce a minimum string length of 1.