Merge request reports
- Tier: Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
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.
Security scan report
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:
- The target branch pipeline detects two vulnerabilities identified as
V1andV2. - The source branch pipeline detects two vulnerabilities identified as
V1andV3.
The security scan report shows the following results:
V1exists on both branches so is not shown in the report.V2appears in the report as fixed.V3appears 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.
View security scan findings
Prerequisites:
- You must have at least the Developer role for the project.
- You must configure security scanning for the project.
- Security scanning must be enabled on the default branch.
To view security scan findings:
- In the left sidebar, select Search or go to and find your project.
- Select Code > Merge requests.
- Select a merge request.
- Select the Reports tab.
- Select Security scan.
License compliance report
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:
- New licenses: Licenses detected in the source branch that do not exist in the target branch.
- Existing licenses: Licenses that exist in both branches.
- Removed licenses: Licenses that exist in the target branch but not in the source branch.
For each license, the report shows the following information:
- License name and classification (allowed, denied, or unknown)
- Number of dependencies using the license
- List of affected dependencies with package manager and version information
License classifications are determined by your project’s license approval policies.
View license compliance findings
Prerequisites:
- You must have at least the Developer role for the project.
- You must have license scanning configured for your project.
To view license compliance findings:
- In the left sidebar, select Search or go to and find your project.
- Select Code > Merge requests.
- Select a merge request.
- Select the Reports tab.
- Select License compliance.
Troubleshooting
When security scanning is enabled, you might encounter the following issues.
Dismissed vulnerabilities are visible in the security scan report
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.