doc/user/project/merge_requests/reports.md
{{< details >}}
{{< /details >}}
{{< history >}}
mr_reports_tab. Disabled by default.{{< /history >}}
[!flag] The availability of this feature is controlled by a feature flag. For more information, see the history.
The Reports tab on a merge request shows detailed findings from CI/CD pipeline scans. The tab displays security scan findings, license compliance results, and code quality reports in a dedicated full-page view.
The security scan report provides a summary of the changes that would occur in the findings if the source branch were merged.
For example, consider two pipelines with these scan results:
V1 and V2.V1 and V3.The security scan report shows the following results:
V1 exists on both branches so is not shown in the report.V2 appears in the report as fixed.V3 appears in the report as added.For the security scan report to show the differences between the source branch and the target branch, you must have security reports from both branches. The system checks the 10 most recent commits on the target branch for valid security pipelines. For each commit, up to 10 of the most recent pipelines are checked for a security report.
This approach ensures that even if a commit skips the pipeline, a valid security report from an earlier commit is found. If no security report is found, all findings are listed as new. Before you enable security scanning in merge requests, ensure that security scanning is enabled for the default branch.
For each security report type, the report displays the first 25 added and 25 fixed findings, sorted by severity. To see all findings on the source branch of the merge request, select View all pipeline findings.
Prerequisites:
To view security scan findings:
The license compliance report shows licenses detected in your project's dependencies by comparing the source branch pipeline results with the target branch pipeline results.
Licenses are grouped into three categories:
For each license, the report shows the following information:
License classifications are determined by your project's license approval policies.
Prerequisites:
To view license compliance findings:
The code quality report shows code quality violations detected in your merge request by comparing the source branch pipeline results with the target branch pipeline results. The report is available if a report from the target branch is available for comparison.
The report shows:
Each violation shows the following information:
Duplicated violations, with identical fingerprints, are removed. Only a single entry is displayed.
Prerequisites:
To view code quality findings:
When security scanning is enabled, you might encounter the following issues.
When you view the security widget in a merge request, the widget might include vulnerabilities that are already dismissed.
No solution is available for this issue. To track the proposed solution, see issue 411235.