SonarQube Server is a code quality and security platform that software teams host on their own servers to analyze source code and find bugs, vulnerabilities, and code smells.
Hevo uses the SonarQube Web API to replicate the projects, analyses, branches, issues, rules, metrics and measures, users, and groups of your SonarQube Server instance to the Destination of your choice. To ingest data, you must provide Hevo with the host name of your SonarQube Server instance and a user token of a SonarQube administrator.
Supported Features
| Feature Name | Supported |
|---|---|
| Capture deletes | Yes |
| History mode | No |
| Custom data (user-configured tables & fields) | No |
| Data blocking (skip objects and fields) | Yes |
| Resync (objects and Pipelines) | Yes |
| API configurable | Yes |
Handling of Deletes
Hevo captures deletes for all the objects except Issue and its child objects. In each run, Hevo compares the data ingested from the Source with the data present in the Destination. If a record exists in the Destination but is no longer returned by the Source, Hevo marks it as deleted by setting the value of the metadata column __hevo__marked_deleted to True. The record remains in the Destination with all its data. For example, when you delete a project in SonarQube, Hevo marks the project and its child records, such as its branches and analyses, as deleted.
Hevo does not capture deletes for the Issue object and its child objects. The issues of a deleted project remain in the Destination.
Source Considerations
-
Hevo ingests only the issues created after the last run. Changes to an existing issue, such as a new status, resolution, or tag, are not ingested in later runs. To update the existing issues in the Destination, resync the Issue object.
-
Hevo ingests the measures of each metric for each component separately. As a result, the number of API requests in each run increases with the number of metrics and components in your SonarQube instance, and a run may take longer to complete.
-
SonarQube analyzes pull requests only in the Developer Edition and higher. In SonarQube Community Build, the Project Pull Request object does not contain any data.
-
Hevo ingests only the active users of your SonarQube instance. When you deactivate a user, Hevo marks the user as deleted.
-
Your user token expires on the date that you select when you create it. Before it expires, create a new token and update it in your Source configuration.
Limitations
-
Hevo does not support SonarQube Cloud.
-
Hevo does not ingest the assignee of an issue, security hotspots, quality gates, quality profiles, or the source code of your projects.




