> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.endorlabs.com/feedback

```json
{
  "path": "/inventory-insights/pr-runs/index",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# PR runs

> View the history of PR scans performed on a project.

PR runs provide a detailed view of security scans performed on pull requests before you merge them. They help you assess the security impact of code changes and identify issues early in the development cycle. You can use them to verify merge readiness, ensure compliance, and troubleshoot scan failures with full context on vulnerabilities, policy violations, and dependency issues.

1. Select **Projects** from the left sidebar.

2. Search for and select a project to review.

3. Select **PR RUNS** to review the past scans.

   * **List of Scans**: View all past PR scans, including details such as the scan time, duration, scan type, and tags.
   * **Ref**: The Git reference identifying the scanned commit or branch. For Endor Labs SCM Apps, pre-merge pull request scans use a named ref (for example, `pr/1259`), while merge commit scans use a commit SHA.
   * **Findings Summary**: Review the number of security findings, categorized by severity: Critical, High, Medium, or Low.
   * **Commit Details**: Each scan maps to a specific commit SHA, allowing users to track security issues to specific code changes.
   * **Scanned By**: Identifies the user or system that initiated the scan.
   * **Filtering & Search**: You can filter scans by status, scan type, and time range. You can search by tags, commit SHA, or specific include or exclude file paths.

     For example, you can select **Container** as a scan type from the dropdown list.

     <img src="https://mintcdn.com/endorlabs-b4795f4f/2CFeZIRm7eKUPEq0/images/inventory-insights/pr-runs/pr-runs-ui.webp?fit=max&auto=format&n=2CFeZIRm7eKUPEq0&q=85&s=b38545fc07495a76fe0b9c898a657ada" alt="scan type dropdown" width="2283" height="1383" data-path="images/inventory-insights/pr-runs/pr-runs-ui.webp" />

4. Select a record to view general information about the scan or its logs.

   * **View Findings**: Displays security findings associated with the scan. Findings are not recorded in case of scan failures.
   * **View Scan Result**: Displays scan information, issue logs with error details, and additional scan data.
   * **Overview**: Displays general scan information such as the scan status, result UUID, detected programming languages, system details, and versions of key development tools used in the environment.
   * **Issues**: Displays additional errors and warnings from the scan.
   * **Logs**: Monitor scan logs, even while scans are running, and filter by severity level, with selectable log severity from Emergency, Alert, Critical, Error, Warning, Notice, Info, or Debug for in-depth debugging and policy evaluations.

   You can access scan logs and toolchain details for projects onboarded through Endor Labs cloud using the GitHub, GitLab, or Azure DevOps Apps. The log levels in the selected scan result determine the available log severities.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/2CFeZIRm7eKUPEq0/images/inventory-insights/pr-runs/pr-scan-logs.webp?fit=max&auto=format&n=2CFeZIRm7eKUPEq0&q=85&s=b55139c0aaad20c7681ff480ff988865" alt="pull request scans history logs" width="2477" height="1425" data-path="images/inventory-insights/pr-runs/pr-scan-logs.webp" />
