options: [],
fields: [],
},
- {
- key: 'sonar.auth.gitlab.enabled',
- name: 'Enabled',
- description:
- 'Enable Gitlab users to login. Value is ignored if URL, Application ID, and Secret are not set.',
- type: SettingType.BOOLEAN,
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'false',
- options: [],
- fields: [],
- },
{
key: 'sonar.auth.saml.enabled',
name: 'Enabled',
options: [],
fields: [],
},
- {
- key: 'sonar.auth.gitlab.url',
- name: 'GitLab URL',
- description: 'URL to access GitLab.',
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'https://gitlab.com',
- options: [],
- fields: [],
- },
{
key: 'sonar.auth.bitbucket.clientId.secured',
name: 'OAuth consumer key',
options: [],
fields: [],
},
- {
- key: 'sonar.auth.gitlab.applicationId.secured',
- name: 'Application ID',
- description: 'Application ID provided by GitLab when registering the application.',
- category: 'authentication',
- subCategory: 'gitlab',
- options: [],
- fields: [],
- },
{
key: 'sonar.auth.github.appId',
name: 'App ID',
options: [],
fields: [],
},
- {
- key: 'sonar.auth.gitlab.secret.secured',
- name: 'Secret',
- description: 'Secret provided by GitLab when registering the application.',
- type: SettingType.PASSWORD,
- category: 'authentication',
- subCategory: 'gitlab',
- options: [],
- fields: [],
- },
- {
- key: 'sonar.auth.gitlab.allowUsersToSignUp',
- name: 'Allow users to sign up',
- description:
- 'Allow new users to authenticate. When set to disabled, only existing users will be able to authenticate to the server.',
- type: SettingType.BOOLEAN,
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'true',
- options: [],
- fields: [],
- },
- {
- key: 'provisioning.gitlab.token.secured',
- name: 'Provisioning token',
- description:
- 'Token used for user provisioning. You can either use a group or a personal access token, as long as it has visibility on the groups that need to be imported.',
- type: SettingType.PASSWORD,
- category: 'authentication',
- subCategory: 'gitlab',
- options: [],
- fields: [],
- },
- {
- key: 'provisioning.gitlab.groups',
- name: 'Groups',
- description:
- 'Only members of these groups (and sub-groups) will be able to authenticate to the server.',
- category: 'authentication',
- subCategory: 'gitlab',
- multiValues: true,
- options: [],
- fields: [],
- },
{
key: 'sonar.auth.saml.loginUrl',
name: 'SAML login url',
options: [],
fields: [],
},
- {
- key: 'sonar.auth.gitlab.groupsSync',
- name: 'Synchronize user groups',
- description:
- 'For each GitLab group they belong to, the user will be associated to a group with the same name (if it exists) in SonarQube. If enabled, the GitLab OAuth 2 application will need to provide the api scope.',
- type: SettingType.BOOLEAN,
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'false',
- options: [],
- fields: [],
- deprecatedKey: 'sonar.auth.gitlab.sync_user_groups',
- },
{
key: 'sonar.auth.saml.user.login',
name: 'SAML user login attribute',