# 审核绕过推送保护的请求

批准或拒绝需要将包含机密信息的提交推送到你组织存储库的参与者的请求。

## 先决条件

必须先为组织或存储库启用委派绕过，然后才能查看绕过请求。 请参阅“[Enabling delegated bypass for push protection](/zh/code-security/how-tos/secure-your-secrets/manage-bypass-requests/enabling-delegated-bypass-for-push-protection)”。

可以在安全概述中查看和管理这些请求。

## 审核组织的绕过请求

1. 在 GitHub 上，导航到组织的主页面。

2. 在组织名称下，单击 **<svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-shield" aria-label="shield" role="img"><path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg> Security and quality** 该选项卡。

3. 在边栏中的“请求”下，单击\*\*<svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-key" aria-label="key" role="img"><path d="M10.5 0a5.499 5.499 0 1 1-1.288 10.848l-.932.932a.749.749 0 0 1-.53.22H7v.75a.749.749 0 0 1-.22.53l-.5.5a.749.749 0 0 1-.53.22H5v.75a.749.749 0 0 1-.22.53l-.5.5a.749.749 0 0 1-.53.22h-2A1.75 1.75 0 0 1 0 14.25v-2c0-.199.079-.389.22-.53l4.932-4.932A5.5 5.5 0 0 1 10.5 0Zm-4 5.5c-.001.431.069.86.205 1.269a.75.75 0 0 1-.181.768L1.5 12.56v1.69c0 .138.112.25.25.25h1.69l.06-.06v-1.19a.75.75 0 0 1 .75-.75h1.19l.06-.06v-1.19a.75.75 0 0 1 .75-.75h1.19l1.023-1.025a.75.75 0 0 1 .768-.18A4 4 0 1 0 6.5 5.5ZM11 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg> 绕过推送保护\*\*。

4. 选择“**所有状态**”下拉菜单，然后单击“**打开**”以查看正在等待评审的请求，或者已批准但尚未将提交推送到存储库的请求。

5. 单击要审查的请求。

6. 查看请求的详细信息。

7. （可选）添加评审注释。 注释将添加到评审请求时间线和secret scanning警报时间线。 例如，你可能希望出于审计和报告原因而解释批准或拒绝请求的原因，并为参与者提出后续步骤建议。

8. 要允许参与者推送包含机密的提交，请单击“**批准绕过请求**”。 或者，要要求参与者从提交中删除机密，请单击“**拒绝绕过请求**”。

## 筛选请求

可按存储库、审批者（已审核请求的成员）、请求者（提出请求的贡献者）、时间范围和状态筛选请求。

### 按状态筛选

将为请求分配以下状态：

| 地位          | Description                 |
| ----------- | --------------------------- |
| `Approved`  | 请求已获批准，但提交尚未推送至仓库。          |
| `Cancelled` | 参与者已取消请求。                   |
| `Completed` | 请求已获得批准，并且提交已推送到存储库，或请求被拒绝。 |
| `Denied`    | 请求已审查并被拒绝。                  |
| `Expired`   | 请求已过期。 请求的有效期为 7 天。         |
| `Open`      | 请求尚未审查。                     |

## 延伸阅读

* [推送保护委派绕过](/zh/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection)
* [Enabling delegated bypass for push protection](/zh/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/enabling-delegated-bypass-for-push-protection)