{"meta":{"title":"漏防护指南","intro":"了解如何借助 GitHub 的推送保护防止未来的机密泄露。","product":"安全性和代码质量","breadcrumbs":[{"href":"/zh/enterprise-cloud@latest/code-security","title":"安全性和代码质量"},{"href":"/zh/enterprise-cloud@latest/code-security/how-tos","title":"How-tos"},{"href":"/zh/enterprise-cloud@latest/code-security/how-tos/secure-your-secrets","title":"保护机密"},{"href":"/zh/enterprise-cloud@latest/code-security/how-tos/secure-your-secrets/prevent-future-leaks","title":"防止将来泄漏"}],"documentType":"subcategory"},"body":"# 漏防护指南\n\n了解如何借助 GitHub 的推送保护防止未来的机密泄露。\n\n## Links\n\n* [为存储库启用推送保护](/zh/enterprise-cloud@latest/code-security/how-tos/secure-your-secrets/prevent-future-leaks/enable-push-protection)\n\n  借助推送保护， secret scanning 阻止参与者将机密推送到存储库，并在参与者绕过阻止时生成警报。\n\n* [管理用户的推送通知保护](/zh/enterprise-cloud@latest/code-security/how-tos/secure-your-secrets/prevent-future-leaks/manage-user-push-protection)\n\n  您可以控制 GitHub 阻止可能包含机密信息的推送的能力。"}