Back to plugin list
Official
Premium
SonarQube
This plugin is in preview.
Sync from SonarQube to any destination
Publisher
cloudquery
Latest version
v1.2.1
Type
Source
Platforms
Date Published
Price
Free while in preview
Set up process #
brew install cloudquery/tap/cloudquery
1. Download CLI and login
2. Create source and destination configs
Plugin configurationOverview #
The CloudQuery SonarQube source plugin pulls data out of SonarQube and loads it into any supported CloudQuery destination (e.g. PostgreSQL, BigQuery, Snowflake, and more).
Authentication #
In order to fetch information from SonarQube,
cloudquery
needs to be authenticated and configured with valid credentials.
Either user/password or an user token is required for authentication.Plugin Configuration Reference
Example #
This example syncs from SonarQube to a Postgres destination.
The (top level) source spec section is described in the Source Spec Reference.
kind: source
# Common source-plugin configuration
spec:
name: sonarqube
path: cloudquery/sonarqube
registry: cloudquery
version: "v1.2.1"
tables:
- "*"
destinations: ["postgresql"]
# Learn more about the configuration options at https://cql.ink/sonarqube_source
spec:
# required parameters
base_url: ${SONARQUBE_BASE_URL}
# Either user/password or user_token is required
user: ${SONARQUBE_USER}
password: ${SONARQUBE_PASSWORD}
# optional parameters
# user_token: ${SONARQUBE_USER_TOKEN}
# auth_mode: "token"
# concurrency: 100
SonarQube Spec #
This is the (nested) spec used by the source plugin.
base_url
(string
) (required)URL to used SonarQube instanceconcurrency
(integer
) (optional) (default:100
)The best effort maximum number of Goroutines to use. Lower this number to reduce memory usage.auth_mode
(enum
) (optional) (default:basic
)Authentication mode to use. Possible values arebasic
andtoken
.user_token
(string
) (optional)User token for SonarQubeuser
(string
) (optional)SonarQube usernamepassword
(string
) (optional)SonarQube password