About the dependency graph
The dependency graph is a summary of the manifest and lock files stored in a repository. For each repository, it shows dependencies, that is, the ecosystems and packages it depends on. GitHub Enterprise Server does not calculate information about dependents, the repositories and packages that depend on a repository. For more information, see "About the dependency graph"
After you enable the dependency graph for your enterprise, you can enable Dependabot to detect insecure dependencies in your repository. For more information, see "Enabling Dependabot for your enterprise."
You can enable the dependency graph via the Management Console or the administrative shell. We recommend using the Management Console unless your GitHub Enterprise Server instance uses clustering.
Enabling the dependency graph via the Management Console
If your GitHub Enterprise Server instance uses clustering, you cannot enable the dependency graph with the Management Console and must use the administrative shell instead. For more information, see "Enabling the dependency graph via the administrative shell."
-
Sign in to your GitHub Enterprise Server instance at
http(s)://HOSTNAME/login
. -
From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .
-
If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.
-
In the left sidebar, click Management Console.
-
In the left sidebar, click Security.
-
Under "Security," click Dependency graph.
-
Under the left sidebar, click Save settings.
Note: Saving settings in the Management Console restarts system services, which could result in user-visible downtime.
-
Wait for the configuration run to complete.
-
Click Visit your instance.
Enabling the dependency graph via the administrative shell
-
Sign in to your GitHub Enterprise Server instance at
http(s)://HOSTNAME/login
. -
In the administrative shell, enable the dependency graph on your GitHub Enterprise Server instance:
ghe-config app.dependency-graph.enabled true
Note: For more information about enabling access to the administrative shell via SSH, see "Accessing the administrative shell (SSH)."
-
Apply the configuration.
$ ghe-config-apply
-
Return to GitHub Enterprise Server.