How can I configure the password policy rule for local accounts in SonarQube 10.7?

Must-share information:

  • SonarQube Server: 10.7
  • Scanner: (please specify the version you are using)
  • Plugin: (please specify the plugin version you are using)
  • Deployment Type: Zip
  • What are you trying to achieve: I am trying to define a password policy for local accounts as an administrator.
  • What have you tried so far: I have reviewed the release notes mentioning the password policy feature but am unsure of how to configure it.
    (Release notes for SonarQube 10.6)
  • Example:
    Your password must include at least:
    12 characters
    1 upper case letter
    1 lower case letter
    1 number
    1 special character

Hey there.

Looks like we got it wrong in the release notes – while users cannot configure a default password policy, there is now one baked into SonarQube and enforced on local accounts.

The policy is one you’ve already referenced.

We’ll make sure the docs get updated.