When performing dservice.get and filtering services by dcheckids, this API will return all services, that were discovered by drules that have selected dchecks.
Steps to reproduce:
- Create Discovery rule with two Checks.
- Discover a host with two services (both services are based on different checks)
- Now perform an API request like this:
Result: It will return both services, including the one, that was discovered based on other discovery check.
Expected: Only service, based on requested dcheck should be returned.