Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #16719: Prevent creating invalid labels

Component REST API
Title Prevent creating invalid labels
Date Nov 27, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.3.0p22 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Previously it was possible to create hosts with invalid label values containing one or more colons, for example

my_label: this:is:not:correct

This change implements a check when creating or editing hosts in the Rest API to prevent the use of invalid label values.

To the list of all Werks