SonarQube source
Overview
The SonarQube source connector lets you connect to a SonarQube instance using a user token. The connector currently supports credential validation during setup. Data extraction is still in development.
Setup
Prerequisites
- A reachable SonarQube instance.
- A SonarQube user token with permission to access the SonarQube Web API.
Create a SonarQube user token
In SonarQube:
- Go to My Account (your profile).
- Open Security.
- Generate a User Token and copy it.
Authentication
This connector authenticates using HTTP Basic Auth:
- Username: your SonarQube user token
- Password: empty
During connection testing, the connector calls:
GET https://{host}/api/authentication/validate
and expects a response like:
{ "valid": true }
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
host | string | ✅ | SonarQube host DNS hostname only (no protocol, no path). Example: sonarqube.example.com. |
user_token | string | ✅ | SonarQube user token used for Basic Auth. |
Host format requirements
The host value must be a DNS hostname (not an IP address and not a URL). For example:
- ✅
sonarqube.example.com - ❌
https://sonarqube.example.com - ❌
sonarqube.example.com/sonarqube - ❌
10.0.0.12
Streams
No streams are currently available. Extraction will fail with a message indicating the connector is still in development.
Limitations
- Extraction is not yet implemented (connection testing/credential validation only).
- Only
https://{host}is used when calling the SonarQube API. Ensure your SonarQube instance is accessible over HTTPS at the provided hostname.