Werk #18966: Ruleset API: Fix validation for different FormSpecs

Component Checks & agents
Title Ruleset API: Fix validation for different FormSpecs
Date Nov 11, 2025
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p17 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p41 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk is relevant for you if you are a plugin developer using validation functions within the ruleset API.

Several ruleset API v1 FormSpecs did not trigger any validation when using the custom_validate field, allowing invalid input to be accepted. The following FormSpecs were affected:

  • BooleanChoice
  • CascadingSingleChoice
  • FixedValue
  • HostState
  • Metric
  • MonitoredHost
  • MonitoredService
  • Password
  • Proxy
  • ServiceState
  • TimePeriod

No shipped rulesets could be identified as affected.

Configurations made with affected rulesets (e.g. provided by MKPs) will now become invalid and must be adjusted manually.

To the list of all Werks