Source connector
SonarCloud connector
SonarCloud integration for databases, warehouses and BI tools
Static code quality and security analysis. Datrise captures SonarCloud entities such as projects, issues, code smells, security hotspots, quality gates and measures, then lands normalized and typed models for warehouse reporting, attribution, and AI workflows.
The SonarQube Cloud Web API v1 (+ v2) authenticates with personal access token, incremental runs key on createdAfter (issues).
Of the 6 objects, 6 sync as upserts keyed on the primary key and 0 as append-only streams, so each incremental run moves only what changed since the last watermark. Every object lands in its own table (for example `sonar_cloud_projects`) with a schema derived from the SonarCloud API rather than a flattened CSV, in any of the 43 supported destinations.
Datrise is in early access: pick a destination below to open the SonarCloud pipeline page, and join the waitlist to get the SonarCloud connector with guided onboarding.
What SonarCloud data Datrise extracts
Each object lands in its own typed table. Sync mode is derived from the object: history-style objects append, everything else upserts.
| Object | Landing table | Sync mode |
|---|---|---|
| projects | sonar_cloud_projects | Upsert by primary key, incremental on updated-at |
| issues | sonar_cloud_issues | Upsert by primary key, incremental on updated-at |
| code smells | sonar_cloud_code_smells | Upsert by primary key, incremental on updated-at |
| security hotspots | sonar_cloud_security_hotspots | Upsert by primary key, incremental on updated-at |
| quality gates | sonar_cloud_quality_gates | Upsert by primary key, incremental on updated-at |
| measures | sonar_cloud_measures | Upsert by primary key, incremental on updated-at |
SonarCloud API: setup facts for the connector
Verified against the vendor documentation on 2026-10-26. Unknown values are left blank rather than guessed.
| API | SonarQube Cloud Web API v1 (+ v2) |
|---|---|
| Authentication | personal access token — SonarQube Cloud token sent as `Authorization: Bearer <token>`; personal tokens expire after 7, 30, 60, 90 days or a custom date. |
| Pagination | page — v1 list endpoints take `p` (1-based) and `ps`; `api/issues/search` allows `ps` up to 500 (default 50) and `api/measures/search_history` up to 1,000 (default 100). |
| Rate limit | Not published |
| Incremental cursor | createdAfter (issues) — `api/issues/search` filters on creation (`createdAfter`, `createdBefore`, `createdInLast`) and has no updated-since filter, so status changes need a re-read; measures history is ordered chronologically. |
| Webhooks | Yes — Project webhooks (api/webhooks), fired after each analysis |
| Bulk export | Not published |
| Deletes detectable | Not published |
What bites when replicating SonarCloud
- SonarCloud is now branded SonarQube Cloud; the EU region serves `sonarcloud.io/web_api` (v1) and `api.sonarcloud.io` (v2), while the US region uses `sonarqube.us` and `api.sonarqube.us`.
- Some endpoints are rate limited and return HTTP 429, but SonarSource publishes no number; wait a few minutes before retrying.
- `api/issues/search` takes `componentKeys` and `organization`, and with `sinceLeakPeriod` set requires exactly one component, so org-wide new-code views need one call per project.
- v1 requests default to `application/x-www-form-urlencoded`, and v2 is gradually replacing v1 as endpoints are deprecated.
Popular destinations for SonarCloud
Choose a destination below to open the ready pipeline page.
- AAirtable
Relational spreadsheet destination for ops and go-to-market teams.
View pipeline - AAmazon Athena
Serverless SQL over S3 data lake tables.
View pipeline - AAmazon DynamoDB
Serverless key-value and document store on AWS.
View pipeline - AAmazon QuickSight
AWS serverless BI with SPICE and embedded analytics.
View pipeline - AAmazon Redshift
AWS petabyte-scale warehouse with Spectrum.
View pipeline - AAmazon S3 Data Lake
Object storage landing zone for parquet and snapshots.
View pipeline - AApache Superset
Open-source BI for SQL exploration, charts, and dashboard publishing.
View pipeline - AAzure Data Lake Storage
ADLS Gen2 object storage for analytics workloads.
View pipeline - AAzure Synapse
Microsoft analytics workspace with SQL pools.
View pipeline
SonarCloud connector FAQ
- What SonarCloud data does the connector extract?
- 6 objects: projects, issues, code smells, security hotspots, quality gates and measures. Each lands in its own table with types preserved; history-style objects (0) load as append-only streams.
- Is the SonarCloud integration incremental?
- Yes. After the initial full load, every run reads only records changed since the last watermark (updated-at or event timestamp) and applies an upsert or an append depending on the object.
- Where can I load SonarCloud data?
- Into 43 destinations: relational databases, cloud warehouses, data lakes, spreadsheets and BI tools. Each SonarCloud → destination pair has its own page with the object-to-table mapping.
Related sources
Other sources in the same category, each with its own connector page.
Early access
Launch your SonarCloud pipeline with guided onboarding
Join the waitlist to get priority access for SonarCloud integrations with guided setup, schema-aware mapping, and production-grade incremental sync.