Werk #16285: rules: match_on items must be at least of length 1

Komponente REST API
Titel rules: match_on items must be at least of length 1
Datum 13.12.2023
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk-Version 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks