How can we avoid project/code view access to anonymous user

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

  • how is SonarQube deployed: Helm

  • what are you trying to achieve: We have Query, We are seeing that our Sonar UI without even logging in users are able to see projects, Quality profiles, Quality gates etc. How can we avoid this for anonymous users ? PFA for reference

  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

i think you need to enable following option in <sonarqube_url>/admin/settings?category=security :


1 Like

Thank you! It worked with this