Skip to main content

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:

  1. Go to My Account (your profile).
  2. Open Security.
  3. 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​

FieldTypeRequiredDescription
hoststring✅SonarQube host DNS hostname only (no protocol, no path). Example: sonarqube.example.com.
user_tokenstring✅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.