Loading...
Loading...
Compare original and translation side by side
secret_scanning.ymlsecret_scanning.yml| Repository Type | Availability |
|---|---|
| Public repos | Automatic, free |
| Private/internal (org-owned) | Requires GitHub Secret Protection on Team/Enterprise Cloud |
| User-owned | Enterprise Cloud with Enterprise Managed Users |
| 仓库类型 | 可用情况 |
|---|---|
| 公共仓库 | 自动启用,免费 |
| 私有/内部仓库(组织所有) | 需要Team/Enterprise Cloud版的GitHub Secret Protection |
| 用户自有仓库 | 需带Enterprise Managed Users的Enterprise Cloud版 |
.github/secret_scanning.ymlpaths-ignore:
- "docs/**"
- "test/fixtures/**"
- "**/*.example"paths-ignore.github/secret_scanning.ymlpaths-ignore:
- "docs/**"
- "test/fixtures/**"
- "**/*.example"paths-ignoreactiveinactiveunknownactiveinactiveunknownundefinedundefined
**If the secret is in an earlier commit:**
```bash
**如果秘密在较早的提交中:**
```bashundefinedundefinedFor detailed bypass and delegated bypass workflows, search.references/push-protection.md
如需详细的绕过和委托绕过流程,请搜索。references/push-protection.md
For detailed custom pattern configuration, search.references/custom-patterns.md
如需详细的自定义规则配置,请搜索。references/custom-patterns.md
| Type | Description | Visibility |
|---|---|---|
| User alerts | Secrets found in repository | Security tab |
| Push protection alerts | Secrets pushed via bypass | Security tab (filter: |
| Partner alerts | Secrets reported to provider | Not shown in repo (provider-only) |
| 类型 | 描述 | 可见性 |
|---|---|---|
| 用户告警 | 在仓库中发现的秘密内容 | 安全标签页 |
| 推送保护告警 | 通过绕过推送的秘密内容 | 安全标签页(筛选条件: |
| 合作伙伴告警 | 上报给供应商的秘密内容 | 仓库中不可见(仅供应商可见) |
activeinactiveunknownactiveinactiveunknownFor detailed alert types, validity checks, and REST API, search.references/alerts-and-remediation.md
如需详细的告警类型、有效性检查和REST API说明,请搜索。references/alerts-and-remediation.md
references/push-protection.mdbypassdelegatedbypass requestcommand lineREST APIuser push protectionreferences/custom-patterns.mdcustom patternregexdry runpublishorganizationenterpriseCopilotreferences/alerts-and-remediation.mduser alertpartner alertvaliditymetadatagenericremediationgit historyREST APIreferences/push-protection.mdbypassdelegatedbypass requestcommand lineREST APIuser push protectionreferences/custom-patterns.mdcustom patternregexdry runpublishorganizationenterpriseCopilotreferences/alerts-and-remediation.mduser alertpartner alertvaliditymetadatagenericremediationgit historyREST API