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 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. For more information, see "About secret scanning alerts" and "About GitHub Advanced Security."

For information about how you can try GitHub Enterprise with GitHub Advanced Security for free, see "Setting up a trial of GitHub Enterprise Cloud" and "Setting up a trial of GitHub Advanced Security" in the GitHub Enterprise Cloud documentation.

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

可以通过在存储库中配置 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.