Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2024-09-24. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

自定义模式

You can extend the capabilities of secret scanning to search for your own patterns. These custom patterns can range from your service API keys to connection strings into cloud resources.

谁可以使用此功能?

Secret scanning is available for organization-owned repositories in GitHub Enterprise Server if your enterprise has a license for GitHub Advanced Security. For more information, see "About secret scanning alerts" and "About GitHub Advanced Security."

为机密扫描定义自定义模式

可以通过生成一个或多个正则表达式来定义自己的自定义模式,以扩展 secret scanning 的功能。

管理自定义模式

可以查看、编辑和删除自定义模式,以及为自定义模式启用推送保护。

自定义模式的指标

可以在存储库、组织和企业级别查看自定义模式的警报指标。