How to Generate a Project analysis tokens?

Hi Team,

  • Sonar Qube Version 8.9.9.56886

  • We are trying to create a project analysis token ,we want to share the control to that particular sonar Project to map with developer. Right now at user level tokens are able to rewrite any project in SonarQube, which we want to restrict to project level.

1 Like

Hey there.

These new analysis token types are only available in SonarQube v9.5+ (the latest version is v9.8, with v9.9 LTS coming in February 2023).

In SonarQube v8.9 LTS a token will always have the full permissions of the user it was generated for, which means limiting permissions via project permissions rather than token type.

Thanks Colin, We upgraded to V9.8 and its working now

Hello @Colin I have the latest release Sonarqube but cannot find “create project token” or anything like that. Could you please advise?

Thanks & Regards

Hey there.

Here is the documentation on User Tokens:

You can generate new tokens at User > My Account > Security.