> ## 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

> 扫描已连接仓库中的漏洞，跟踪扫描进度，并查看其架构、发现项和拉取请求。

**Repositories** 列出 Enclave 从你的[源代码管理集成](https://docs.enclave.ai/zh/onboarding/connect-code.md)中读取的所有仓库。打开一个仓库即可扫描它，并查看扫描发现的内容。

![Repositories 页面，列出各仓库的重要性、发现项、PR reviews 开关和依赖扫描状态](https://mintcdn.com/enclave/A7bmZdXxGz6vggdq/images/product/repositories.png?fit=max\&auto=format\&n=A7bmZdXxGz6vggdq\&q=85\&s=75fa368fbce69d31236284f75d150911)

## 查找仓库

每一行都会显示仓库的 **Importance**（其攻击面的最高风险）、**Findings**，以及 **PR reviews** 和 **Auto dependency scans** 开关。尚未扫描的仓库会在名称下方显示 **Not scanned**。

按名称搜索，按 **Importance**、**PR reviews**、**Dependency scans** 或 **Fork** 筛选，点击列标题即可排序。

## 扫描仓库

你需要 **Owner** 或 **Admin** 角色。

1. 点击一个仓库。它会在 **Scan** 标签页中打开。
2. 点击 **Start scan**；如果之前扫描过，则点击 **Scan again**。

扫描会梳理代码及其攻击面，然后在每个攻击面中狩猎漏洞。扫描运行时，**Scanning** 面板会列出各个阶段并高亮当前阶段。

如果扫描提前停止，面板会显示 **The last scan didn't finish** 以及停止的位置。点击 **Scan again** 重试。

只有通过 GitHub、GitLab 或 Azure DevOps 连接的仓库才能被扫描。 如果尚未扫描的仓库使用其他提供商，其 **Scan** 标签页会显示 **This repository can't be scanned**，而不是扫描按钮。

## 仓库标签页

| 标签页 | 显示的内容 |
| - | - |
| **Scan** | 仓库的属性、**PR reviews** 和 **Auto dependency scans** 开关及其扫描 |
| **Architecture** | 扫描梳理出的单元。选择一个单元即可查看其组件，以及每个组件的职责、层级和入口点 |
| **Findings** | 仓库的发现项，搜索和筛选与 [Risk](https://docs.enclave.ai/zh/risk/findings.md) 相同 |
| **Pull requests** | 已同步的拉取请求及其发现项 |

如需开启或关闭自动 PR 审查或依赖扫描，请使用 **Scan** 标签页上的 **PR reviews** 或 **Auto dependency scans** 开关，或仓库所在行的开关。你需要 **Owner** 或 **Admin** 角色。请参阅 [PR 与依赖分析](https://docs.enclave.ai/zh/risk/pr-analysis.md) 和 [Dependencies](https://docs.enclave.ai/zh/dependencies.md)。


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