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
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks