SonarCloud
Visualize SonarCloud data, map SonarCloud users to employees, and monitor changes through queries and alerts.
- Installation guide
- SonarCloud data model
Installation
You will need to create an API key on SonarCloud for this integration. See their documentation for more information.
Configuration in JupiterOne
To install the SonarCloud integration in JupiterOne, navigate to the Integrations tab in JupiterOne and select SonarCloud. Click New Instance to begin configuring your integration.
Creating a configuration requires the following:
The Account Name used to identify the SonarCloud account in JupiterOne. Ingested entities will have this value stored in
tag.AccountName
when theAccountName
toggle is enabled.Description to assist in identifying the integration instance, if desired.
Polling Interval that you feel is sufficient for your monitoring needs. You may leave this as
DISABLED
and manually execute the integration.Your SonarCloud API Token and Organization Names to be ingested. For instances that wish to ingest multiple SonarCloud organizations, be sure to separate each organization name with a comma.
Click Create once all values are provided to finalize the integration.
Next steps
Now that your integration instance has been configured, it will begin running on the polling interval you provided, populating data within JupiterOne. Continue on to our Instance management guide to learn more about working with and editing integration instances.
Data Model
Entities
The following entities are created:
Resources | Entity _type | Entity _class |
---|---|---|
Issue | sonarcloud_issue | Issue |
Organization | sonarcloud_organization | Organization |
Project | sonarcloud_project | Project |
User | sonarcloud_user | User |
UserGroup | sonarcloud_group | UserGroup |
Relationships
The following relationships are created:
Source Entity _type | Relationship _class | Target Entity _type |
---|---|---|
sonarcloud_group | HAS | sonarcloud_user |
sonarcloud_organization | HAS | sonarcloud_group |
sonarcloud_organization | HAS | sonarcloud_project |
sonarcloud_project | HAS | sonarcloud_issue |
Mapped Relationships
The following mapped relationships are created:
Source Entity _type | Relationship _class | Target Entity _type | Direction |
---|---|---|---|
sonarcloud_project | SCANS | *CodeRepo* | FORWARD |