Werk #19782: show_host endpoint: use contact groups
| Component | REST API | ||||||
| Title | show_host endpoint: use contact groups | ||||||
| Date | Apr 15, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
When trying to show information of a specific host with the
GET /objects/host_config/{host_name}
endpoint, you had to have the See all hosts and folders permission.
This was not aligned with the
GET /domain-types/host_config/collections/all
where all of the contact hosts have been shown.
Now the permission handling correctly uses contact groups: a user can view a host if they are a contact of the host itself or of the folder containing it.