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

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

为企业启用 Dependabot malware alerts

可以为企业中具有 custom security configuration 的存储库启用 Dependabot malware alerts。 Security configurations 是可以大规模自定义和应用的安全设置集合。 请参阅 为企业创建自定义安全配置

后续步骤

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