Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #14507: REST API management board address validator

Component REST API
Title REST API management board address validator
Date Jun 29, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p5 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p27 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

The management board address can hold IPv4 addresses, IPv6 addresses and hostnames. The REST API only validated the IP addresses but rejected the hostnames. This host attribute is used at the host creation, update and display endpoints.

The affected endpoints are:

  • POST /domain-types/host_config/actions/bulk-create/invoke
  • POST /domain-types/host_config/actions/bulk-update/invoke
  • GET /domain-types/host_config/collections/all
  • POST /domain-types/host_config/collections/all
  • GET /objects/host_config/{host_name}
  • PUT /objects/host_config/{host_name}

This werk adds a validator that allows hostnames set through the REST API as well. No futher action is needed.

To the list of all Werks