Skip to main content

配置 Dependabot 恶意软件警报

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

谁可以使用此功能?

启用了 Dependabot alerts 的存储库

为存储库启用 Dependabot malware alerts

  1. 在 GitHub 上,导航到存储库的主页面。1. 在仓库名称下,单击 “Settings”****。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”。

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

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

  3. 在 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 恶意软件警报