Werk #18907: site management: return login status in the REST-API responses for remote sites

Component REST API
Title site management: return login status in the REST-API responses for remote sites
Date Oct 20, 2025
Level Trivial Change
Class New Feature
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.0p16
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p40
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

For security reasons, the secret field was removed from the site management REST-API responses as described in https://checkmk.com/werk/18286.

Previously, the presence of the secret was used to determine the login status of a remote site—that is, if a secret was present, the remote site was considered logged in; if not, it was considered logged out.

To restore this functionality without exposing the secret, we have introduced a new boolean field, logged_in, in the REST-API responses. When you call the site management endpoints, the response for remote sites now includes this logged_in field to clearly indicate whether the site is logged in or logged out.

If you have scripts or integrations that rely on remote site login status, please update them to use the new logged_in field. After upgrading, modify your API clients to check the logged_in boolean in the REST-API responses.

To the list of all Werks