Skip to content

Commit c3c79ca

Browse files
authored
[EDI] Configuring the dependency graph (#59310)
1 parent 2e32bde commit c3c79ca

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

content/code-security/how-tos/secure-at-scale/configure-organization-security/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Configure organization security
2+
title: Configuring security features in your organization
3+
shortTitle: Configure organization security
34
intro: Configure security across your organization by establishing coverage, managing settings, and controlling access to code security tools at scale.
45
versions:
56
fpt: '*'

content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-the-dependency-graph.md renamed to content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/enabling-the-dependency-graph.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2-
title: Configuring the dependency graph
2+
title: Enabling the dependency graph
33
intro: You can allow users to identify their projects' dependencies by enabling the dependency graph.
44
permissions: '{% data reusables.permissions.dependency-graph %}'
55
redirect_from:
66
- /code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph#enabling-the-dependency-graph
77
- /code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph
8+
- /code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-the-dependency-graph
89
versions:
910
fpt: '*'
1011
ghes: '*'
@@ -13,38 +14,41 @@ topics:
1314
- Dependency graph
1415
- Dependencies
1516
- Repositories
16-
shortTitle: Configure dependency graph
17+
shortTitle: Enable dependency graph
1718
contentType: how-tos
1819
---
19-
## About the dependency graph
2020

21-
{% data reusables.dependabot.about-the-dependency-graph %}
21+
The dependency graph is a summary of the manifest and lock files stored in a repository and any dependencies that are submitted for the repository using the {% data variables.dependency-submission-api.name %}. For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph).
2222

23-
For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph).
23+
When the dependency graph is first enabled, any manifest and lock files for supported ecosystems are parsed immediately. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. Once enabled, the graph is automatically updated with every push to the repository{% ifversion fpt or ghec %} and every push to other repositories in the graph{% endif %}.
2424

2525
{% ifversion ghes %}
2626

27-
## Enabling the dependency graph
27+
## Enabling the dependency graph for a {% data variables.product.prodname_ghe_server %} instance
2828

2929
{% data reusables.dependabot.ghes-enabling-dependency-graph %}
3030

31-
{% endif %}
31+
{% else %}
3232

33-
{% ifversion fpt or ghec %}
33+
## Enabling the dependency graph for a repository
3434

35-
## Configuring the dependency graph
35+
Enabling the dependency graph gives {% data variables.product.github %} read-only access to the dependency manifest and lock files for a repository.
3636

37-
To generate a dependency graph, {% data variables.product.github %} needs read-only access to the dependency manifest and lock files for a repository. The dependency graph can be enabled or disabled for all repositories. For more information on viewing the dependency graph, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository).
37+
{% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo-public-fork %}
3838

39-
{% data reusables.dependency-submission.dependency-submission-link %}
39+
## Enabling the dependency graph for multiple repositories
4040

41-
### Enabling and disabling the dependency graph
41+
You can enable or disable the dependency graph for all repositories owned by your user account, regardless of their visibility. See [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/managing-security-and-analysis-settings-for-your-personal-account).
4242

43-
{% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo-public-fork %}
43+
You can also enable the dependency graph for multiple repositories in an organization at the same time. For more information, see {% ifversion security-configurations %}[AUTOTITLE](/code-security/securing-your-organization).{% else %}[AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization).{% endif %}
4444

4545
{% endif %}
4646

47-
When the dependency graph is first enabled, any manifest and lock files for supported ecosystems are parsed immediately. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. Once enabled, the graph is automatically updated with every push to the repository{% ifversion fpt or ghec %} and every push to other repositories in the graph{% endif %}.
47+
## Next steps
48+
49+
{% data reusables.dependency-submission.dependency-submission-link %}
50+
51+
For more information on viewing the dependency graph, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository).
4852

4953
## Further reading
5054

content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ children:
1212
- /configuring-dependabot-security-updates
1313
- /configuring-dependabot-version-updates
1414
- /keeping-your-actions-up-to-date-with-dependabot
15-
- /configuring-the-dependency-graph
15+
- /enabling-the-dependency-graph
1616
- /exploring-the-dependencies-of-a-repository
1717
- /configuring-automatic-dependency-submission-for-your-repository
1818
- /using-the-dependency-submission-api

data/reusables/dependabot/enabling-disabling-dependency-graph-private-repo-public-fork.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Repository administrators can enable or disable the dependency graph for all repositories owned by your user account, regardless of their visibility. See [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/managing-security-and-analysis-settings-for-your-personal-account).
2-
3-
You can also enable the dependency graph for multiple repositories in an organization at the same time. For more information, see {% ifversion security-configurations %}[AUTOTITLE](/code-security/securing-your-organization).{% else %}[AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization).{% endif %}
4-
51
{% data reusables.repositories.navigate-to-repo %}
62
{% data reusables.repositories.sidebar-settings %}
73
{% data reusables.repositories.navigate-to-code-security-and-analysis %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
If the dependency graph is not available in your system, your enterprise owner can enable the dependency graph. For more information, see [AUTOTITLE](/admin/code-security/managing-supply-chain-security-for-your-enterprise/enabling-the-dependency-graph-for-your-enterprise).
1+
If the dependency graph is not available on your {% data variables.product.prodname_ghe_server %} instance, ask an enterprise owner to enable it. For more information, see [AUTOTITLE](/admin/code-security/managing-supply-chain-security-for-your-enterprise/enabling-the-dependency-graph-for-your-enterprise).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Additionally, you can use the {% data variables.dependency-submission-api.name %} to submit dependencies from the package manager or ecosystem of your choice, even if the ecosystem is not supported by dependency graph for manifest or lock file analysis.
1+
You can use the {% data variables.dependency-submission-api.name %} to submit dependencies from the package manager or ecosystem of your choice, even if the ecosystem is not supported by dependency graph for manifest or lock file analysis.
22
Dependencies submitted to a project using the {% data variables.dependency-submission-api.name %} will show which detector was used for their submission and when they were submitted. For more information on the {% data variables.dependency-submission-api.name %}, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api).

0 commit comments

Comments
 (0)