SonarQube health check URL should use different http statuses

Hi Guys. Is there a reason why all sonarqube health check statusses are all 200?

Could we not get different statusses for each health status (green, yellow, red)? Here is an example:

HTTP GET 200 Output: {“health”:“RED”,“causes”:[{“message”:“SonarQube webserver is not up”}]}

It would be useful to just be able to interpret the http status to determine if the service is functional or not.

Sorry if my information is wrong and this is already the case. Not sure if I tested all the scenarios properly enough.

PS. I’m using Hashicorp Consul to do status checks, and want to automate the checks and their responses.