SonarQube
Reads each named project’s quality gate and measures, its issues and its security hotspots from a SonarQube Server, so engineering agents can answer from what the analysis found and what is still open.
At a glance
Section titled “At a glance”| Collector | SonarQube, version 0.1.0 |
|---|---|
| Reads | SonarSource: SonarQube Server (Web API) (the vendor's documentation) |
| Family | Engineering |
| Kind | Code |
| Ways to connect | Access token |
| Scopes |
|
| Read only | Yes |
| Vendor's API can move money | No |
| Personal data | Content, Identity |
| Hosts it may contact | Only the hosts on your deployment's allow-list (*: the host is the one you give it) |
| Vendor API versions | SonarQube Server Web API |
| Lowest engine version | 0.47.1 |
What it reads
Section titled “What it reads”- One record per project: the quality gate status and each gate condition, the headline measures (bugs, vulnerabilities, code smells, hotspots to review, coverage, duplication, size, the A to E ratings) and the latest analysis (date, version, revision). It is written again only when its text changes.
- One record per issue: message, rule, type, severity, status and resolution, file and line, effort, tags and assignee. Issues are read newest-updated first and the read stops at the newest update the last pull saw, so a status change on an old issue arrives as well as new issues. The first read pages by creation date, in windows, so a project with more than 10,000 issues is read in full.
- One record per security hotspot: message, category, vulnerability probability, status and resolution, file and line. Hotspots have no date filter, so a project’s list is read in full; one that changed is written, and one that is no longer listed is withdrawn.
- Never read: source code, issue changelogs, issue authors (committer e-mail addresses), users and groups, and permissions.
How to connect
Section titled “How to connect”- In SonarQube, create a user token (My Account, Security) for a user, or a service user, that has Browse on the projects.
- In LightHouse, open Connectors, choose SonarQube, give the server address (
https://sonar.example.com), the project keys (or all projects the token can browse), a label and how often to read, and paste the token. - In code, give the deployment the token as
SONARQUBE_TOKENfrom your secret store and add akind: sonarqubesource card withserver_url,projects(orall_projects: true),labelandrequires. - SonarQube Server 10 and later accepts the token as a Bearer token, which is the default. Earlier servers accept it only as the Basic user name with an empty password: set
auth: basicon the source card.
Permissions
Section titled “Permissions”Browse on each project, and nothing else. The collector sends only GET requests to the server address you give, with the token as a Bearer (or, for auth: basic, Basic) credential; it never writes. The project list, quality gate, measures, analyses, issue and hotspot endpoints are all reads. Its read-only test proves it on every change.
Limits
Section titled “Limits”- You must name projects or set
all_projects; a whole server is never the default. - The server address must be
https://; requests to any other host are refused. - SonarQube answers no more than 10,000 results to one query; the first read steps past that by creation date, and an incremental read that finds more than 10,000 changed issues falls back to the same walk.
- An issue that SonarQube closes (fixed) stays in the index with its closed status; it is not withdrawn.
- A project the token cannot read hotspots for (a 403 or 404 from the hotspot list) keeps its hotspots as they were rather than withdrawing them.
- From the 2026 releases SonarQube reports what older versions called security hotspots as issues (tagged
former-hotspot); the hotspot list is then empty and those findings arrive as issue records. - Issues that share the newest update time are tracked by key in the cursor, so a pull neither misses nor repeats one.
Data handling
Section titled “Data handling”- Issue and hotspot text, file paths and rule names are copied into the deployment’s corpus under the source’s
label. Assignees’ user names can appear. Issue authors are not read. - Source code is never read, though a message can quote an identifier.
- The token stays in your secret store and is never written to logs or run notes; it is sent only to the server host.
- Nothing leaves the deployment: only counts reach LightHouse.
Troubleshooting
Section titled “Troubleshooting”| What you see | What it means | What to do |
|---|---|---|
server_url must be the https address of the SonarQube Server |
The address is missing or not https | Give the https address |
name the projects to sync, or set all_projects |
Neither projects nor all_projects is set |
Name the projects |
credential variable 'SONARQUBE_TOKEN' is not set |
The token variable is empty | Set it from your secret store |
HTTP 401 |
The token is revoked, expired or wrong, or the server is before version 10 and auth is bearer |
Make a new user token; for an older server set auth: basic |
HTTP 403 on a project |
The token has no Browse on it | Grant Browse |
HTTP 404 on a project |
The key does not exist, or is not visible to the token | Check the key |
| Read succeeded, 0 written | Nothing changed since the cursor | Nothing to do |
Certification
Section titled “Certification”Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See How collectors are certified.
| Date | Collector | Engine | Vendor API | Method | Expires |
|---|---|---|---|---|---|
| 20 November 2026 | 0.1.0 | 0.47.1 | SonarQube Server Web API 26.11 | Vendor's sandbox (a real run) | 20 May 2027 |
| 20 November 2026 | 0.1.0 | 0.47.1 | SonarQube Server Web API | Fixtures only: built, not certified | Not applicable |
Security posture
Section titled “Security posture”From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.
| Last scanned | 25 November 2026 |
|---|---|
| Critical findings | 0 |
| High findings | 0 |
| Medium findings | 0 |
| Low findings | 0 |
| Info findings | 0 |
| Release blocked | No |
| Network allow-list check | Pass |
| Read-only behavioural test | Pass |
| SBOM (CycloneDX) | Produced |
| Dependency licences | Pass |
| Scanners | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |