You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check if the PR is connected to an issue that has the DIY docs label. The grep command parses through the PR description to find issue numbers that are linked in the PR description. The GitHub CLI command then checks if the issue exists in the docs-content repo, then checks if the linked docs-content issues have the DIY docs label. If the linked issues have the DIY docs label, the DIY_DOCS_LABEL environment variable is set to true.
47
-
- name: Check if PR is connected to DIY docs issue
Copy file name to clipboardexpand all lines: content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md
+8-7
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The supply chain features on {% data variables.product.github %} are:
39
39
***{% data variables.product.prodname_dependabot_security_updates %}**
40
40
***{% data variables.product.prodname_dependabot_version_updates %}**
41
41
42
-
The dependency graph is central to supply chain security. The dependency graph identifies all upstream dependencies and public downstream dependents of a repository or package. You can see your repository’s dependencies and some of their properties, like vulnerability information, on the dependency graph for the repository.
42
+
The dependency graph is central to supply chain security. The dependency graph identifies all upstream dependencies and public downstream dependents of a repository or package. Your repository’s dependency graph tracks and displays its dependencies and some of their properties, like vulnerability information.
43
43
44
44
Other supply chain features on {% data variables.product.prodname_dotcom %} rely on the information provided by the dependency graph.
45
45
@@ -53,20 +53,21 @@ For best practice guides on end-to-end supply chain security including the prote
53
53
54
54
## Feature overview
55
55
56
-
### What is the dependency graph
56
+
### What is the dependency graph?
57
57
58
58
To generate the dependency graph, {% data variables.product.company_short %} looks at a repository’s explicit dependencies declared in the manifest and lockfiles. When enabled, the dependency graph automatically parses all known package manifest files in the repository, and uses this to construct a graph with known dependency names and versions.
59
59
60
60
* The dependency graph includes information on your _direct_ dependencies and _transitive_ dependencies.
61
61
* The dependency graph is automatically updated when you push a commit to {% data variables.product.company_short %} that changes or adds a supported manifest or lock file to the default branch, and when anyone pushes a change to the repository of one of your dependencies.
62
+
* The dependency graph can also include information you provide as your project is building using {% data variables.product.prodname_actions %}. Some package ecosystems pull in most of their transitive dependencies at build time, so submitting dependency information as the build is happening provides a more complete view of the supply chain.
62
63
* You can see the dependency graph by opening the repository's main page on {% data variables.product.github %}, and navigating to the **Insights** tab.
63
64
* {% data reusables.dependency-graph.sbom-export %}
64
65
65
66
{% data reusables.dependency-submission.dependency-submission-link %}
66
67
67
68
For more information about the dependency graph, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph).
68
69
69
-
### What is dependency review
70
+
### What is dependency review?
70
71
71
72
Dependency review helps reviewers and contributors understand dependency changes and their security impact in every pull request.
For more information about dependency review, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review).
77
78
78
-
### What is Dependabot
79
+
### What is Dependabot?
79
80
80
-
{% data variables.product.prodname_dependabot %} keeps your dependencies up to date by informing you of any security vulnerabilities in your dependencies, and automatically opens pull requests to upgrade your dependencies to the next available secure version when a {% data variables.product.prodname_dependabot %} alert is triggered, or to the latest version when a release is published.
81
+
{% data variables.product.prodname_dependabot %} keeps your dependencies up to date by informing you of any security vulnerabilities in your dependencies and automatically opening pull requests to upgrade your dependencies. {% data variables.product.prodname_dependabot %} pull requests will target the next available secure version when a {% data variables.product.prodname_dependabot %} alert is triggered, or to the latest version when a release is published.
81
82
82
83
The term "{% data variables.product.prodname_dependabot %}" encompasses the following features:
83
84
* {% data variables.product.prodname_dependabot_alerts %}: Displayed notification on the **Security** tab for the repository, and in the repository's dependency graph. The alert includes a link to the affected file in the project, and information about a fixed version.
@@ -103,7 +104,7 @@ For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dep
103
104
104
105
{% data reusables.dependabot.dependabot-actions-support %} For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates).
105
106
106
-
#### What are Dependabot alerts
107
+
#### What are Dependabot alerts?
107
108
108
109
{% data variables.product.prodname_dependabot_alerts %} highlight repositories affected by a newly discovered vulnerability based on the dependency graph and the {% data variables.product.prodname_advisory_database %}, which contains advisories for known vulnerabilities.
109
110
@@ -116,7 +117,7 @@ For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dep
116
117
117
118
For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).
118
119
119
-
#### What are Dependabot updates
120
+
#### What are Dependabot updates?
120
121
121
122
There are two types of {% data variables.product.prodname_dependabot_updates %}: {% data variables.product.prodname_dependabot %} _security_ updates and _version_ updates. {% data variables.product.prodname_dependabot %} generates automatic pull requests to update your dependencies in both cases, but there are several differences.
Copy file name to clipboardexpand all lines: content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-automatic-dependency-submission-for-your-repository.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ topics:
19
19
> [!NOTE]
20
20
> Automatic dependency submission is currently only supported for Maven.
21
21
22
-
Dependency graph analyzes the manifest and lock files in a repository, in order to help users understand the dependencies that the repository depends on. However, in some ecosystems, the resolution of transitive dependencies occurs at build-time and {% data variables.product.company_short %} isn't able to automatically discover all dependencies based on the contents of the repository alone.
22
+
Dependency graph analyzes the manifest and lock files in a repository, in order to help users understand the upstream packages that their software project depends on. However, in some ecosystems, the resolution of transitive dependencies occurs at build-time and {% data variables.product.company_short %} isn't able to automatically discover all dependencies based on the contents of the repository alone.
23
23
24
-
When you enable automatic dependency submission for a repository, {% data variables.product.company_short %} automatically identifies the transitive dependencies in the repository and will submit these dependencies to {% data variables.product.company_short %} using the {% data variables.dependency-submission-api.name %}. You can then report on these dependencies using the dependency graph.
24
+
When you enable automatic dependency submission for a repository, {% data variables.product.company_short %} automatically identifies the transitive dependencies in the repository and will submit these dependencies to {% data variables.product.company_short %} using the {% data variables.dependency-submission-api.name %}. You can then explore these dependencies using the dependency graph. {% data variables.product.prodname_dependabot %} will notify you about security updates for these dependencies by generating {% data variables.product.prodname_dependabot_alerts %} .
25
25
26
26
Using automatic dependency submission counts toward your {% data variables.product.prodname_actions %} minutes. For more information, see [AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions).
27
27
@@ -83,6 +83,8 @@ Automatic dependency submission is currently only supported for Maven. The featu
83
83
84
84
Automatic dependency submission makes a best effort to cache package downloads between runs using the [Cache](https://github.com/marketplace/actions/cache) action to speed up workflows. For self-hosted runners, you may want to manage this cache within your own infrastructure. To do this, you can disable the built-in caching by setting an environment variable of `GH_DEPENDENCY_SUBMISSION_SKIP_CACHE` to `true`. For more information, see [AUTOTITLE](/actions/learn-github-actions/variables).
85
85
86
+
If your repository's dependencies seem inaccurate, check that the timestamp of the last dependency graph build matches the last change to your `pom.xml` file. The timestamp is visible on the table of alerts in the repository's {% data variables.product.prodname_dependabot_alerts %} tab. Pushing a commit which updates `pom.xml` will trigger a new run of the Dependency Tree Submission action and force a rebuild of that repository's dependency graph.
Copy file name to clipboardexpand all lines: content/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository.md
+4-14
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,7 @@ The dependency graph shows the dependencies{% ifversion fpt or ghec %} and depen
29
29
{% data reusables.repositories.navigate-to-repo %}
30
30
{% data reusables.repositories.accessing-repository-graphs %}
31
31
{% data reusables.repositories.click-dependency-graph %}
32
-
1. Optionally, use the search bar to find a specific dependency or set of dependencies.
33
-
34
-
>[!NOTE] The search bar only searches based on the package name.
32
+
1. Optionally, use the search bar to find a specific dependency or set of dependencies. You can use the keywords `ecosystem:` to show only packages of a certain type, or `relationship:` to show only direct or transitive dependencies (if the ecosystem supports transitivity). Plain words in search bar will only match package names.
35
33
36
34
{% ifversion fpt or ghec %}
37
35
@@ -50,14 +48,14 @@ Enterprise owners can configure the dependency graph at an enterprise level. For
50
48
### Dependencies view
51
49
52
50
{% ifversion fpt or ghec %}
53
-
For each dependency, you can see its ecosystem, the manifest file in which it was found, and the license (where detected).
51
+
For each dependency, you can see its ecosystem, the manifest file in which it was found, and its license (where detected).
54
52
55
53
* Dependencies for private repositories, private packages, or unrecognized files are shown in plain text.
56
54
* If the package manager for the dependency is in a public repository, you can hover on the dependency name to display a pop-up with the associated repository information.
57
55
* You can sort and filter dependencies by typing filters as `key:value` pairs into the search bar.
58
56
59
57
* Use `ecosystem: <ecosystem-name>` to display dependencies for the selected ecosystem.{% ifversion transitive-dependency-labeling-npm %}
60
-
***For npm only.**Use `relationship:` to filter the list by relationship status. Possible values are `direct`, `transitive`, and `inconclusive`. Alternatively, you can click the relationship label adjacent to a dependency name to only show dependencies of the same relationship status.{% endif %}
58
+
* Use `relationship:` to filter the list by relationship status. Possible values are `direct`, `transitive`, and `inconclusive`. Alternatively, you can click the relationship label adjacent to a dependency name to only show dependencies of the same relationship status. This filter is only available for ecosystems with transitive dependency support. See [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/dependency-graph-supported-package-ecosystems) for more information.{% endif %}
61
59
62
60
{% endif %}
63
61
@@ -109,17 +107,9 @@ The "Used by" section represents a single package from the repository. If you ha
109
107
110
108
{% endif %}
111
109
112
-
## Troubleshooting the dependency graph
113
-
114
-
If your dependency graph is empty, there may be a problem with the file containing your dependencies. Check the file to ensure that it's correctly formatted for the file type.
115
-
116
-
{% ifversion fpt or ghec %}
117
-
If the file is correctly formatted, then check its size. The dependency graph ignores individual manifest and lock files that are over 1.5 Mb, unless you are a {% data variables.product.prodname_enterprise %} user. It processes up to 150 manifest or lock files per repository by default, so you can split dependencies into smaller files in subdirectories of the repository.{% endif %}
118
-
119
-
If a manifest or lock file is not processed, its dependencies are omitted from the dependency graph and they can't be checked for insecure dependencies.
0 commit comments