Is it possible to disable authentication for /api/system/health endpoint

Hello Team,
Is it possible to disable authentication for /api/system/health endpoint just like /api/server/version?

Regards,
Anuj

Hi @Anuj_Kumar ,

no but you can define a custom header for authentication. sadly this is currently only documented for the DCE here, but it also works for other editions.

Example:

docker run --rm --name sonarqube-test -p 9000:9000 -e "SONAR_WEB_SYSTEMPASSCODE=Test" sonarqube:8-developer

curl -H "X-Sonar-Passcode: Test" localhost:9000/api/system/health

i hope that helps :slight_smile: