---
title: SonarQube Connector Guide
slug: rbvm-help/sonarqube-connector-guide
createdAt: 2026-10-26T13:51:23.768Z
---

**Summary**: How to set up and use the SonarQube connector in Ivanti Neurons.

## Overview

SonarQube is an on-premises solution for code quality and security service. SonarQube operates as a static code analyzer that discovers security and quality issues in source code by interacting directly with the repositories.

Ivanti Neurons provides an API-based connector that integrates with SonarQube, enabling customers to bring their SAST findings. This connector allows customers to gain visibility into their overall risk due to vulnerabilities in their source code to allow a more straightforward, efficient way to manage those vulnerabilities.

## User Prerequisites/SonarQube Setup

SonarQube is an on-premises solution. Ivanti Neurons requires a user account with the following access to communicate with and pull data from SonarQube.

- A user with, at minimum, read access to scan results and their associated issues. The user must also be allowed access to SonarQube API endpoints.
- As SonarQube is an on-premises solution, for it to communicate with Ivanti Neurons, we must set up a RiskSense On-Site Application (ROSA) OVA. More information on ROSA is available [here](docId:7wHkLoxSH3F00T9lvOuYv).

## SonarQube Connector API Calls

The following API calls are performed during a connector run to pull security vulnerabilities from SonarQube into Ivanti Neurons.

| **API Type**                                   | **Endpoint**                                                                                                                                                 |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Authentication                                 | [/api/authentication/validate](https://sonarcloud.io/api/authentication/validate)                                                                            |
| Fetch List of Projects Keys                    | [/api/components/search](https://sonarcloud.io/api/components/search?organization=manasavelladurai\&qualifiers=TRK\&p=1\&ps=100)                             |
| Fetch Analysis date for each project           | [/api/components/show](https://sonarcloud.io/api/components/show?p=1\&ps=100\&organization=manasavelladurai\&component=ManasaVelladurai_cockroach)           |
| Fetch the list of Directories for each project | [/api/components/tree](https://sonarcloud.io/api/components/tree?component=ManasaVelladurai_cockroach\&qualifiers=DIR\&ps=500)                               |
| Fetch the list of Issues for each directory    | [/api/issues/search](https://sonarcloud.io/api/issues/search?componentKeys=ManasaVelladurai_cockroach\:cockroach-master/pkg/acceptance\&types=VULNERABILITY) |
| Fetch the list of Rules for the organization   | [/api/rules/search](https://sonarcloud.io/api/rules/search?organization=manasavelladurai)                                                                    |

### Fetching the SonarQube User Token

First, log in to your SonarQube instance with the designated user account. Navigate to **My Account > Security**. Enter the token name and click the **Generate&#x20;**&#x62;utton.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/4m5DkBnVrIGGH8VgH2DJF_sonarcloud-connector-guide.png" alt="SonarQube Connector - Generate User Token" position="flex-start" size="93" width="653" height="465" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/SonarCloud Connector Guide.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/SonarCloud Connector Guide.png" showCaption="false"}

Copy the user token, as it is only displayed once. Use this token for API authentication.

## Configuring the SonarQube Connector in Ivanti Neurons

Navigate to the **Automate > Integrations** page.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/N6T9UnB5FOanUDKWj7uEe_palo-alto-xpanse-expander.png" alt="Navigation - Automation - Integrations" position="flex-start" size="33" width="229" height="151" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/Palo Alto Xpanse Expander.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/Palo Alto Xpanse Expander.png" showCaption="false"}

Using the search bar in the upper-right corner of the **Integrations** page, type **SonarQube** to find the connector.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/_mIMt0sIS6PNhXT0_8l2S_sonarqube-connector-guide.png" alt="SonarQube Connector - Search for Connector" position="flex-start" size="98" width="688" height="199" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide.png" showCaption="false"}

Locate the **SonarQube** card on the page and click **Configuration**.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/q8m4aUG1jn32UWRQfqp38_sonarqube-connector-guide1.png" alt="SonarQube Connector - Configuration Button Location" position="flex-start" size="32" width="221" height="210" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_1.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_1.png" showCaption="false"}

In the new window under **Connection**, complete the required fields, as described below.

- **Name**: The connector's name.
- **URL**: The URL to access SonarQube Instance
- **UserToken**: UserToken retrieved from SonarQube instance, as described [here](docId\:ZGYdw-rWSbarfhKuv3ira).
- **Organization key**: The default value for this field is default-organization. If the user doesn't provide any value, Ivanti Neurons will look for **default-organization** as a key.
- **SSL**: Optional instance SSL certificate in base64 format

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/0rJg5werJStDF1kh3DOgO_sonarqube-connector-guide2.png" alt="SonarQube Connector - Connection Window" position="flex-start" size="73" width="512" height="333" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_2.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_2.png" showCaption="false"}

Click the **Test Credentials** button to ensure the credentials are correct and have the necessary access to make SonarQube API calls.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/HGzMAj0PmqgKYqAulZwW__palo-alto-xpanse-expander4.png" alt="SonarQube Connector - Test Credentials" position="flex-start" size="28" width="195" height="136" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/Palo Alto Xpanse Expander_4.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/Palo Alto Xpanse Expander_4.png" showCaption="false"}

Under Schedule, you can configure the desired schedule for the connector to retrieve results from the SonarQube instance and optionally select the Oldest Scan Data Pull configuration.

The Oldest Scan Data Pull drop-down provides users the flexibility to pull the oldest reports from the last 30, 60, 90, 180 days, and 1 year.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/BOBAIvIwibucxj4wCS68f_sonarqube-connector-guide3.png" alt="SonarQube Connector - Schedule Section" position="flex-start" size="73" width="514" height="414" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_3.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_3.png" showCaption="false"}

Under Connector Specific Options, select the required options from the list.

Users have the option to ingest the selected SonarQube findings. Ivanti Neurons can ingest more than one finding type.

- **Projects**: Clicking the **All Projects** radio button allows the user to pull all projects under the organization. To pull specific projects, click the **Select Projects** radio button. Once selected, Ivanti Neurons makes a dynamic call to SonarQube to fetch all associated projects. Users can choose more than one project, as well.
- **Ingest Findings:&#x20;**&#x54;he user can ingest selected findings from SonarQube. More than one type of finding can also be ingested at once.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/EbesATQ1ZbvPf5UL2Y75d_sonarcloud-connector-guide7.png" alt="SonarQube Connector - Connector Specific Options" position="flex-start" size="78" width="545" height="381" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/SonarCloud Connector Guide_7.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/SonarCloud Connector Guide_7.png" showCaption="false"}

Users can optionally turn on **Enable auto URBA (Update Remediation by Assessment)**.

On marking the **Create Assets that do not have vulnerabilities** options, Ivanti Neurons will create applications with zero findings. This option will be selected by default, and the user can opt to turn it off.

Click the **Save** button to save the connector's configuration and create the connector. Once saved, the connector is now visible on the **Integrations** page under **Currently Configured Integrations**.

Clicking the **History** button displays the connector details for each pull. The **Sync** button allows users to perform on-demand sync. The **Edit** button allows the user to edit the connector configuration. The **Delete** button allows the user to delete the connector.

::Image[]{src="https://api.archbee.com/api/optimize/9rfvxhrv8FA-8bxcK2IRv/y6j6swcVcjMnOMPA-hBma_sonarqube-connector-guide4.png" alt="SonarQube Connector - Configured Connector" position="flex-start" size="34" width="240" height="272" initialPath="Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_4.png" githubPath="RBVM_14.70_help/Resources/Images/RS KB Mirror for Ivanti - 2022/SonarQube Connector Guide_4.png" showCaption="false"}

Once files have been processed on the Uploads page, view the ingested data by navigating to the **Applications** and **Application Findings** pages.

## Mapping SonarQube fields in Ivanti Neurons

This table showcases the high-level mapping of **SonarQube** fields in Ivanti Neurons.

| **Ivanti Neurons Fields** | **SonarQube Fields**                                                                                                                                                                                                            |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Scanner Severity          | rules -> severity                                                                                                                                                                                                               |
| Normalized Severity       | The **SonarQube** Severity scale: Blocker, Critical, Major, Minor, and Info.<br />Ivanti Neurons converts this Severity scale into a scale from 0-10 using specific logic. Contact Ivanti Neurons Support for more information. |
| Scanner Plugin            | rules -> key                                                                                                                                                                                                                    |
| Application Name          | ProjectName                                                                                                                                                                                                                     |
| Plugin Source Status      | issues -> status                                                                                                                                                                                                                |

### Ivanti Neurons Tags

The following fields from **SonarQube** are converted into Ivanti Neurons tags. Use these tags for searching, automating playbooks, and visualizing in Ivanti Neurons Dashboards.

- Organization - This tag name is prefixed with the field name to ease the searching process.
- SysTags
- Tags
- Resolution

### Common Fields in Ivanti Neurons

The following fields in Ivanti Neurons are defined for SonarQube, along with their default values.

- The Scanner Name will be **SonarQube**.
- The Finding Type will be **SAST**.
