JFrog Evidence Collection
Understanding the SonarQube Cloud integration with JFrog Evidence Collection.
This integration requires the SonarQube Cloud Enterprise license.
To set up your pipeline to use the JFrog CLI to create the Sonar evidence, see the JFrog pipelines documentation.
The JFrog Evidence Collection expands JFrog’s Release Lifecycle Management capabilities to enrich artifacts, builds, and release bundles with signed attestation metadata that can be easily tracked and verified for governance and compliance.
SonarQube Cloud integrates with JFrog Evidence Collection to provide trusted auditing for software packages.
Prerequisites
SonarQube Cloud Enterprise license
JFrog Artifactory Enterprise+ license
Minimum JFrog CLI version: 2.78.9
Integration overview
The JFrog CLI is used within the CI pipeline to create the Sonar evidence that will be displayed on the JFrog platform. This evidence contains the quality gate status computed by SonarQube Cloud and made accessible via its API.
The figure below shows the process:
The CI pipeline starts the SonarQube analysis.
The SonarScanner performs the analysis and sends the results to SonarQube Cloud.
SonarQube Cloud processes the analysis results and computes the quality gate status.
The CI pipeline asks JFrog CLI to create the Sonar evidence for the analysis.
The JFrog CLI, which waits for the analysis completion, retrieves SonarQube analysis evidence payload from SonarQube Cloud's endpoint: api.sonarcloud.io/dop-translation/jfrog-evidence (see JFrog Evidence Collection below).

Example of a Sonar endpoint response
The endpoint response contains the evidence payload in JSON format with a markdown section.
Last updated
Was this helpful?

