- Visualize Sonarqube projects, users, and projects in the JupiterOne graph.
- Map Sonarqube users to employees in your JupiterOne account.
- Monitor changes to Sonarqube users using JupiterOne alerts.
- JupiterOne periodically fetches projects, teams, and users from Sonarqube to update the graph.
- Write JupiterOne queries to review and monitor updates to the graph, or leverage existing queries.
- Configure alerts to take action when JupiterOne graph changes, or leverage existing alerts.
- JupiterOne requires an API token. You need permission to create a user in
Sonarqube that will be used to obtain the API token. The token should have the
Administer System
permission to allow the ability to pull extra user metadata. More information on this can be found in the sonarqube api documentation of your instance (<your-instance-url>/web_api/api/users/search
). - You must have permission in JupiterOne to install new integrations.
If you need help with this integration, please contact JupiterOne Support.
- From the top navigation of the J1 Search homepage, select Integrations
- Scroll to the Sonarqube integration tile and click it.
- Click the Add Configuration button and configure the following settings:
- Enter the Account Name by which you'd like to identify this Sonarqube
instance in JupiterOne. Ingested entities will have this value stored in
tag.AccountName
when Tag with Account Name is checked. - Enter a Description that will further assist your team when identifying the integration instance.
- Select a Polling Interval that you feel is sufficient for your monitoring
needs. You may leave this as
DISABLED
and manually execute the integration. - Enter the Sonarqube base url generated for use by JupiterOne.
- Enter the Sonarqube API token generated for use by JupiterOne.
- Click Create Configuration once all values are provided.
TODO: List specific actions that must be taken to uninstall the integration. Many of the following steps will be reusable; take care to be sure they remain accurate.
- From the top navigation of the J1 Search homepage, select Integrations
- Scroll to the Sonarqube integration tile and click it.
- Identify and click the integration to delete.
- Click the trash can icon.
- Click the Remove button to delete the integration.
The following entities are created:
Resources | Entity _type |
Entity _class |
---|---|---|
Account | sonarqube_account |
Account |
Finding | sonarqube_finding |
Finding |
Project | sonarqube_project |
Project |
User | sonarqube_user |
User |
UserGroup | sonarqube_user_group |
UserGroup |
The following relationships are created:
Source Entity _type |
Relationship _class |
Target Entity _type |
---|---|---|
sonarqube_account |
HAS | sonarqube_project |
sonarqube_account |
HAS | sonarqube_user |
sonarqube_account |
HAS | sonarqube_user_group |
sonarqube_project |
HAS | sonarqube_finding |
sonarqube_user_group |
HAS | sonarqube_user |