Werk #15031: host_config & dcd: change SiteField field to use configured_sites rather than enabled_sites

Component REST API
Title host_config & dcd: change SiteField field to use configured_sites rather than enabled_sites
Date Nov 18, 2022
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p17 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Prior to this werk, the REST API endpoint show all hosts returned a 500 error when one of the returned hosts was part of a disabled remote site. This error also affected the DCD as the connector uses the same endpoint to retrieve the hosts. This werk resolves this error by changing the site verification from using all configured sites rather than all enabled sites.

To the list of all Werks