From 00d30d2da725551eff6e459ca802097ddc1cf3b7 Mon Sep 17 00:00:00 2001 From: Anne-Marie <102995847+am-stead@users.noreply.github.com> Date: Wed, 4 Oct 2023 09:24:57 +0200 Subject: [PATCH] [Improvement]: Add information regarding Internal repositories for the dependency graph #10998 (#42520) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- .../configuring-the-dependency-graph.md | 18 +++++++++++++----- ...-disabling-dependency-graph-private-repo.md | 6 ++++-- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md index cba6c25d39..b3ce251cb0 100644 --- a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md +++ b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md @@ -25,19 +25,27 @@ For more information, see "[AUTOTITLE](/code-security/supply-chain-security/unde ## About configuring the dependency graph -To generate a dependency graph, {% data variables.product.product_name %} needs read-only access to the dependency manifest and lock files for a repository. The dependency graph is automatically generated for all public repositories and you can choose to enable it for private 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)." +To generate a dependency graph, {% data variables.product.product_name %} needs read-only access to the dependency manifest and lock files for a repository. The dependency graph is automatically generated for all public repositories and you can choose to enable it for private {% ifversion ghec %}and internal {% endif %}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)." {% data reusables.dependency-submission.dependency-submission-link %} -You can also enable the dependency graph for multiple repositories in an organization at the same time. For more information, see "[AUTOTITLE](/code-security/getting-started/securing-your-organization)." - {% endif %} -{% ifversion ghes %} ## Enabling the dependency graph -{% data reusables.dependabot.ghes-ghae-enabling-dependency-graph %}{% endif %}{% ifversion fpt or ghec %} +{% ifversion ghes %} + +## Enabling the dependency graph + +{% data reusables.dependabot.ghes-ghae-enabling-dependency-graph %}{% endif %} + +{% ifversion ghec %} + +### Enabling and disabling the dependency graph for a private or internal repository + +{% endif %}{% ifversion fpt %} ### Enabling and disabling the dependency graph for a private repository +{% endif %}{% ifversion fpt or ghec %} {% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo %} {% endif %} diff --git a/data/reusables/dependabot/enabling-disabling-dependency-graph-private-repo.md b/data/reusables/dependabot/enabling-disabling-dependency-graph-private-repo.md index 7b699b55f8..c2d335aa02 100644 --- a/data/reusables/dependabot/enabling-disabling-dependency-graph-private-repo.md +++ b/data/reusables/dependabot/enabling-disabling-dependency-graph-private-repo.md @@ -1,6 +1,8 @@ -Repository administrators can enable or disable the dependency graph for private repositories. +Repository administrators can enable or disable the dependency graph for private {% ifversion ghec %}or internal{% endif %} repositories. -You can also enable or disable the dependency graph for all repositories owned by your user account or organization. For more information, see "[AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph)." +You can enable or disable the dependency graph for all repositories owned by your user account. For more information, 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)". + +You can also enable the dependency graph for multiple repositories in an organization at the same time. For more information, see "[AUTOTITLE](/code-security/getting-started/securing-your-organization)." {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %}