# Regulatory reports

Starting in [Enterprise](https://www.sonarsource.com/plans-and-pricing/enterprise/), you can download a regulatory report for any permanent branch of a project. A permanent branch is one that has been set to **Keep when inactive**, see [Maintaining project branches](/sonarqube-server/2025.5/project-administration/maintaining-the-branches-of-your-project.md) for details.

## Downloading regulatory reports <a href="#downloading-regulatory-reports" id="downloading-regulatory-reports"></a>

To download a regulatory report:

1. Retrieve your project. See [Retrieving projects](/sonarqube-server/2025.5/user-guide/viewing-projects/retrieving-projects.md) for more information.
2. On the Overview page, click **Downloadable reports** and select **Download Regulatory report (.zip)** from the drop down menu.

Alternatively:

1. Select **Project Information** from the project’s navigation bar.
2. In the **Regulatory Report** section, choose a project branch from the drop down menu.
3. Click **Download report**.

SonarQube generates the report for download, which may take a few minutes depending on the size of the project.

## Contents of the regulator report’s ZIP file <a href="#contents-regulatory-reports-zip-file" id="contents-regulatory-reports-zip-file"></a>

The reports are in a ZIP file containing a snapshot of the latest analysis of the selected branch and include TXT, CSV, and PDF files.

The PDF file includes:

* **Project overview**:
  * Project details
  * Quality gates information and status
* **Project rating** **overview** for:
  * New code broken down by new issues, accepted issues, coverage, duplication, and security hotspots.
  * Overall code broken down by security, reliability, maintainability (in [MQR mode](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/mqr-mode.md)) or vulnerabilities, bugs, and code smells (in [Standard Experience](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/standard-experience.md)), accepted issues, coverage, duplication, and security hotspots.
* **Distribution of issues in new code** showing open issues and breakdown by severity, based on security, reliability, maintainability (in [MQR mode](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/mqr-mode.md)) or vulnerabilities, bugs, and code smells (in [Standard Experience](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/standard-experience.md)).
* **Distribution of issues in overall code** showing open issues and breakdown by severity, based on security, reliability, maintainability (in [MQR mode](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/mqr-mode.md)) or vulnerabilities, bugs, and code smells (in [Standard Experience](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/standard-experience.md)).
* **Quality gate and quality profiles** information.
* **Files** lists all relevant files included in the ZIP file.
* **Definitions** lists all the definitions of terms related to the report.

Depending on the configuration of your SonarQube Server instance, the regulatory report is generated with metrics either from [Standard Experience](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/standard-experience.md) or [MQR mode](/sonarqube-server/2025.5/instance-administration/analysis-functions/instance-mode/mqr-mode.md). Some CSV files may contain metrics from both modes and they are marked accordingly.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Security reports](/sonarqube-server/2025.5/user-guide/viewing-reports/security-reports.md)
* [PDF reports](/sonarqube-server/2025.5/user-guide/viewing-reports/pdf-reports.md)
* [Portfolios](/sonarqube-server/2025.5/user-guide/viewing-reports/portfolios.md)
* [Other issues](/sonarqube-server/2025.5/server-update-and-maintenance/troubleshooting/other-issues.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/2025.5/user-guide/viewing-reports/regulatory-reports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
