Dependabot helps users of 您的企业 find and fix vulnerabilities in their dependencies.
注意：Dependabot 警报 目前处于测试阶段，可能会更改。
With Dependabot 警报, GitHub identifies insecure dependencies in repositories and creates alerts on 您的企业, using data from the GitHub Advisory Database and the dependency graph service.
We add advisories to the GitHub Advisory Database from the following sources:
After you enable Dependabot 警报 for your enterprise, vulnerability data is synced from the GitHub Advisory Database to your instance once every hour. Only GitHub-reviewed advisories are synchronized. For more information about advisory data, see "Browsing security advisories in the GitHub Advisory Database" in the GitHub.com documentation.
You can also choose to manually sync vulnerability data at any time. For more information, see "Viewing the vulnerability data for your enterprise."
Note: When you enable Dependabot 警报, no code or information about code from 您的企业 is uploaded to GitHub.com.
When 您的企业 receives information about a vulnerability, it identifies repositories in 您的企业 that use the affected version of the dependency and generates Dependabot 警报. You can choose whether or not to notify users automatically about new Dependabot 警报.
For repositories with Dependabot 警报 enabled, scanning is triggered on any push to the default branch that contains a manifest file or lock file. Additionally, when a new vulnerability record is added to 您的企业, GitHub AE scans all existing repositories on 您的企业 and generates alerts for any repository that is vulnerable. For more information, see "About Dependabot 警报."
Before you can enable Dependabot 警报:
- You must enable GitHub Connect. For more information, see "Managing GitHub Connect."
在 GitHub AE 的右上角，单击您的个人资料照片，然后单击 Enterprise settings（Enterprise 设置）。
在企业帐户边栏中，单击 GitHub Connect。
Under "Repositories can be scanned for vulnerabilities", select the drop-down menu and click Enabled without notifications. Optionally, to enable alerts with notifications, click Enabled with notifications.
Tip: We recommend configuring Dependabot 警报 without notifications for the first few days to avoid an overload of emails. After a few days, you can enable notifications to receive Dependabot 警报 as usual.