Issues reported in DevOps platform

You can view and manage issues reported by SonarQube directly in GitHub, GitLab or Azure DevOps platforms.

Managing security issues in GitHub

When you analyze a project in SonarQube, the detected security issues are displayed on the GitHub interface as code scanning alerts, if set up in your system. See Setting up the report of security alerts for more information. When you change the status of a security issue in the SonarQube interface that status change is immediately reflected in the GitHub interface. Similarly, if you change the status of a code scanning alert in GitHub, that change is reflected in SonarQube.

To view and manage your code scanning alerts:

  1. In GitHub, go to your repository’s Security > Code scanning alerts tab.

  2. Select View alerts to see the full list.

Managing your code scanning alerts in GitHub

Viewing the security issues in GitLab

When you analyze a project in SonarQube Server, the detected security issues are displayed on the GitLab interface as security vulnerabilities if set up in GitLab CI/CD. See Setting up GitLab integration at project level for more information. When you change the status of a security issue in the SonarQube Server interface that status change is immediately reflected in the GitLab interface.

To view the security vulnerabilities:

  • Go to the GitLab > Vulnerability report page.

If your issues appear duplicated (it may be the case after the modification of a file), we recommend using the Activity > Still detected filter.

Viewing the issues detected on a pull request in Azure DevOps

When you run a SonarQube Server analysis for a pull request, each SonarQube issue is displayed as a comment on the Azure DevOps pull request. If the Azure DevOps instance is configured correctly and you change the status of an issue in SonarQube Server, that status change is immediately reflected in the Azure DevOps interface.

Last updated

Was this helpful?