Skip to main content

Atualmente o GitHub AE está em versão limitada.

Habilitando o Dependabot para sua empresa

É possível permitir que os usuários do sua empresa encontrem e corrijam vulnerabilidades em dependências de códigohabilitando Dependabot alerts.

Quem pode usar esse recurso

Enterprise owners can enable Dependabot.

About Dependabot for GitHub AE

Dependabot helps users of your enterprise find and fix vulnerabilities in their dependencies.

Note: Dependabot alerts is currently in beta and is subject to change.

With Dependabot alerts, GitHub identifies insecure dependencies in repositories and creates alerts on your enterprise, using data from the GitHub Advisory Database and the dependency graph service.

We add advisories to the GitHub Advisory Database from the following sources:

If you know of another database we should be importing advisories from, tell us about it by opening an issue in https://github.com/github/advisory-database.

After you enable Dependabot alerts 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, see "Browsing security advisories in the GitHub Advisory Database."

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 alerts, no code or information about code from your enterprise is uploaded to GitHub.com.

When your enterprise receives information about a vulnerability, it identifies repositories in your enterprise that use the affected version of the dependency and generates Dependabot alerts. You can choose whether or not to notify users automatically about new Dependabot alerts.

For repositories with Dependabot alerts 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 your enterprise, GitHub AE scans all existing repositories on your enterprise and generates alerts for any repository that is vulnerable. For more information, see "About Dependabot alerts."

Enabling Dependabot alerts

Before you can enable Dependabot alerts:

  1. In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.

    Screenshot of the drop-down menu that appears when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is highlighted in a dark orange outline.

  2. In the enterprise account sidebar, click GitHub Connect.

  3. 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 alerts without notifications for the first few days to avoid an overload of emails. After a few days, you can enable notifications to receive Dependabot alerts as usual.