Viewing project security reports
SonarQube CloSecurity reports give you the compliance of a project with regard to the most popular security standards (PCI DSS, OWASP ASVS, OWASP Top 10, CWE Top 25).
This feature is only available in the Enterprise plan.
Security reports help you understand where you may have issues related to the following security standards:
OWASP Top 10 (versions 2021 and 2017)
CWE Top 25 (versions 2024, 2023, 2022, and 2021)
PCI DSS (versions 4.0 and 3.2.1)
You can view the security report of any branch: main, long-lived, or short-lived of your project. For a given standard, it displays the number of raised security issues and hotspots by security category. Only the security rules activated in the project’s quality profiles are taken into account. See Checking the security rules included in a project’s quality profile for more details.
Viewing the security reports of a project branch

Retrieve a project by going to My Projects in the top navigation bar and selecting your project.
From the left-side panel of the project page, select a branch for which you want to view the security report. You can select:
Main Branch
Branches > select your branch
Select the Security Reports tab.
Select the security standards you want to review. The grid displays the number of raised issues and hotspots by security category.
View Project overall Security rating and Project overall Security Review rating in the Security reports overview section.
Select the number in the Security or Security Hotspots columns to open a view listing the issues with more detail. From there, you can remedy review and mange the issue with more precision.
Select Download Security report (PDF) for a PDF version of the report.
Checking the security rules included in a project’s quality profile

Retrieve a project by going to My Projects in the top navigation bar and selecting your project, and go to the Information page.
In About This Project, select a quality profile to open it.
Once on the Quality Profiles page, select the active Security rules from the Software qualities table’s Active column. The Rules page will open.
(image below) In the left-side panel of the Rules page, scroll to the Security Category and filter the results by specific standards to view the security categories covered by code review and analysis.

Downloading a project security PDF report for a branch
As a member of a security or compliance team, you can generate and download project security reports in a PDF format for any given branch.
Retrieve the project by going to My Projects in the top navigation bar and selecting your project.
From the left-side panel of the project page, select a branch for which you want to view the security report. You can select:
Main Branch
Branches > Select your branch
Click on the Security Reports tab.
In the top right corner of the page click Download Security report (PDF).
Download options
The following download options are available:
Default: Includes Sonar, OWASP top 10 2021 and CWE TOP 25 2024 security standards.
Custom: Choose from a list of all security standards used by SonarQube.
Contents of the PDF Report
A Security Overview page that includes:
Project and branch information
The number of open Security issues, Security Hotspots, and Accepted Security issues on new code and overall code.
Overall code security ratings for Security issues and Security Hotspots, including the percentage of reviewed Security Hotspots
A report for a given standard that includes:
A list of categories for Security issues and Security Hotspots
Number of issues to address and their relevant rating per category
Breakdown by severity (Blocker, High, Medium, Low, Info)
Hotspots that need review
Related pages
Last updated
Was this helpful?