Skip to main content

配置 Dependabot 恶意软件警报

通过识别和修正恶意依赖项来防止恶意软件攻击。

谁可以使用此功能?

启用了 Dependabot alerts 的存储库

为您的存储库启用Dependabot malware alerts

  1. 在 GitHub 上,导航到存储库的主页面。

  2. 在仓库名称下,单击 “Settings”****。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”。

    存储库标头的屏幕截图,其中显示了选项卡。 “设置”选项卡以深橙色边框突出显示。

  3. 在边栏的“Security”部分中,单击“ Advanced Security”****。

  4. 若要启用 Dependabot malware alerts,首先需要启用 Dependabot alerts。 在“”Advanced Security下,单击右侧 Dependabot alerts的“ 启用”。

  5. 在右侧 Dependabot malware alerts,单击“ 启用”。

为您的组织启用Dependabot malware alerts

可以为组织中的存储库启用 Dependabot malware alerts,只需使用 custom security configuration。 Security configurations 是可大规模自定义和应用的安全设置的集合。 请参阅“删除自定义安全配置”。

为企业启用Dependabot malware alerts

可以在企业的代码库中启用Dependabot malware alerts,并与custom security configuration一起使用。 Security configurations 是可大规模自定义和应用的安全设置的集合。 请参阅 为企业创建自定义安全配置

后续步骤

若要查看和更新您的Dependabot malware alerts,请参阅管理 Dependabot 恶意软件警报