Skip to main content

使用高级机密扫描和推送保护功能

了解如何自定义 secret scanning 以满足公司的需求。

谁可以使用此功能?

Secret scanning alerts for partners runs automatically on public repositories and public npm packages to notify service providers about leaked secrets on GitHub.

Secret scanning alerts for users are available for user-owned public repositories for free. Organizations using GitHub Enterprise Cloud with a license for GitHub Advanced Security can also enable secret scanning alerts for users on their private and internal repositories. Additionally, secret scanning alerts for users are available and in beta on user-owned repositories for GitHub Enterprise Cloud with Enterprise Managed Users. For more information, see "About secret scanning alerts" and "About GitHub Advanced Security."

For information about how you can try GitHub Advanced Security for free, see "Setting up a trial of GitHub Advanced Security."

从机密扫描中排除文件夹和文件

可以通过在存储库中配置 secret_scanning.yml 文件来自定义 secret scanning,以从分析中排除目录或文件。

非提供商模式

Learn how you can customize secret scanning to meet the needs of your company.

通用机密检测

Learn how you can customize secret scanning to meet the needs of your company.

自定义模式

Learn how you can customize secret scanning to meet the needs of your company.

推送保护委派绕过

可以通过设置审阅者组来评估请求,从而控制绕过推送保护的能力。 当某参与者建议绕过保护时,绕过列表的任何成员都可以批准或阻止请求。