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

> ## Agent Instructions
> Enclave in these docs is the code and cloud security platform at enclave.ai. It is not Open Enclave, Intel SGX or other hardware enclaves, or enclave.gg.
> People use Enclave in the web app at https://app.enclave.ai or the desktop app. These docs describe no public Enclave API or CLI, so don't invent endpoints, commands, or config files.
> Connecting an integration needs a person to sign in and approve access in a browser. Tell the user the exact step to take instead of saying you completed it.

# Repositories

> Scan a connected repository for vulnerabilities, follow the scan's progress, and review its architecture, findings, and pull requests.

**Repositories** lists every repository Enclave reads from your [source-control integrations](https://docs.enclave.ai/onboarding/connect-code.md). Open one to scan it and see what the scan found.

![The Repositories page, listing repositories with their importance, findings, PR reviews switch, and dependency scan state](https://mintcdn.com/enclave/A7bmZdXxGz6vggdq/images/product/repositories.png?fit=max\&auto=format\&n=A7bmZdXxGz6vggdq\&q=85\&s=75fa368fbce69d31236284f75d150911)

## Find a repository

Each row shows the repository's **Importance** (its highest attack-surface risk), its **Findings**, and its **PR reviews** and **Auto dependency scans** switches. A repository that hasn't been scanned says **Not scanned** under its name.

Search by name, filter by **Importance**, **PR reviews**, **Dependency scans**, or **Fork**, and click a column header to sort.

## Scan a repository

You need the **Owner** or **Admin** role.

1. Click a repository. It opens on its **Scan** tab.
2. Click **Start scan**, or **Scan again** if it was scanned before.

A scan maps the code and its attack surfaces, then hunts each surface for vulnerabilities. While it runs, the **Scanning** panel lists its phases and highlights the current one.

If a scan stops early, the panel says **The last scan didn't finish** and shows where it stopped. Click **Scan again** to retry.

Only repositories connected through GitHub, GitLab, or Azure DevOps can be scanned. If an unscanned repository uses another provider, its **Scan** tab shows **This repository can't be scanned** instead of a scan button.

## Repository tabs

| Tab | What it shows |
| - | - |
| **Scan** | The repository's properties, its **PR reviews** and **Auto dependency scans** switches, and its scan |
| **Architecture** | The units the scan mapped. Select a unit to see its components, with each one's responsibility, layer, and entry points |
| **Findings** | The repository's findings, with the same search and filters as [Risk](https://docs.enclave.ai/risk/findings.md) |
| **Pull requests** | Synced pull requests and their findings |

To turn automatic PR reviews or dependency scans on or off, use the **PR reviews** or **Auto dependency scans** switch on the **Scan** tab, or the switch in the repository's row. You need the **Owner** or **Admin** role. See [PR and dependency analysis](https://docs.enclave.ai/risk/pr-analysis.md) and [Dependencies](https://docs.enclave.ai/dependencies.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.