SonarQube
SonarQube scanner that uses SonarQube Cloud Edition to generate findings. This is a SaaS-Only component
How to use
SaaS
- In the Smithy UI, open the page to create a new workflow.
- Find the SonarQube component in the Scanners dropdown.
- Fill the form on the right
Options
You can configure this component with the following options. The options that have a default value are optional:
Option Name | Description | Default | Type |
---|---|---|---|
[Required] auth_token | The SonarQube auth token. | String | |
[Required] project_key | The project key of your SonarQube project you want to report findings to. It comes in the form $organization_$project_name | String | |
[Required] project_name | The project name of your SonarQube project you want to report findings to | String | |
[Required] organization | The name of your SonarQube organization. | https://sonarcloud.io | String |
host_base_url | The base URL to your SonarQube cloud instance. | String | |
target_repository_url | The link of your repository generating findings. | String | |
target_repository_reference | The reference of your repository generating findings. | String | |
client_query_page_size | Page size for the batched HTTP calls to SonarQube Cloud API. | 50 | Integer |
status_polling_interval | How often SonarQube Cloud API should be polled for a scheduled scan task to check if it's completed. | 5s | Duration |
status_polling_max_retries | How many attempts should be made to check if a scheduled task is completed. | 240 | Integer |