Skip to content

Commit 0083811

Browse files
authored
Merge pull request #42627 from github/repo-sync
Repo sync
2 parents e2a82af + c3c79ca commit 0083811

File tree

10 files changed

+40
-30
lines changed

10 files changed

+40
-30
lines changed

content/code-security/concepts/supply-chain-security/linked-artifacts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Storage records include the repository containing the artifact's source code, th
3838

3939
![Screenshot of an artifact page. Highlighted fields: storage registry, artifact repository, source repository.](/assets/images/help/security/virtual-registry-storage-record.png)
4040

41+
The _artifact repository_ is not mandatory. It refers to the concept of a repository in certain external package registries: a place where multiple packages can be grouped. By contrast, the _source repository_ refers to the {% data variables.product.github %} repository where the artifact is built. The source repository is mandatory, and is detected automatically if the artifact has a build provenance attestation.
42+
4143
For more information about attestations and SLSA levels, see [AUTOTITLE](/actions/concepts/security/artifact-attestations).
4244

4345
### Deployment records

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/manage-your-dependency-security/guidance-for-the-configuration-of-private-registries-for-dependabot.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ redirect_from:
1818
contentType: how-tos
1919
---
2020

21-
## About configuring private registries for {% data variables.product.prodname_dependabot %}
22-
2321
This article contains recommendations and advice to help you configure {% data variables.product.prodname_dependabot %} to access your private registry, along with:
2422

25-
* Detailed snippets of the `dependabot.yml` configuration file for each package manager.
26-
* Important limitations or caveats.
27-
* Steps explaining how to test that the configuration is working.
28-
* Extra configuration options, wherever appropriate (for example, npm has a configuration file that needs to be set).
29-
* Advice about configuring registry hosts.
23+
* Detailed snippets of the `dependabot.yml` configuration file for each package manager
24+
* Important limitations or caveats
25+
* Steps explaining how to test that the configuration is working
26+
* Extra configuration options, wherever appropriate (for example, npm has a configuration file that needs to be set)
27+
* Advice about configuring registry hosts
3028

3129
You'll find detailed guidance for the setup of the following package managers:
3230

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

content/code-security/reference/supply-chain-security/dependabot-options-reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,8 @@ Examples : `0 9 * * *`, `every day at 5pm`
682682
`0 9 * * *` is equivalent to "every day at 9am". `every day at 5pm` is equivalent to `0 17 * * *`.
683683

684684
> [!NOTE]
685-
> A `cronjob` type schedule is required to use a `cron` interval.
685+
> * Timezones must be specified in the [`timezone`](#timezone) parameter and not in the `cronjob`.
686+
> * A `cronjob` type schedule is required to use a `cron` interval.
686687

687688
```yaml copy
688689

content/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ You can add two types of context to your space:
4949
* **{% octicon "upload" aria-hidden="true" aria-label="upload" %} Upload a file**: You can upload files directly from your local machine. This includes images, text files, rich documents, and spreadsheets.
5050
* **{% octicon "paste" aria-hidden="true" aria-label="paste" %} Add text content**: You can type or paste free-text content, such as transcripts, notes, or any other relevant information that can help {% data variables.product.prodname_copilot_short %} understand the context of your space.
5151

52+
## Choosing repositories or files as context
53+
54+
When adding sources to your space, you can choose to attach entire repositories or individual files. Understanding how each option works can help you get the best results from {% data variables.product.prodname_copilot_short %}.
55+
56+
* **Attach a repository**: When you attach a repository, {% data variables.product.prodname_copilot_short %} doesn't load the entire project into memory. Instead, it searches the repository and retrieves only the most relevant content needed to answer your question. This is recommended for large-scale use cases (for example, answering questions across all documentation in a repository).
57+
58+
* **Attach individual files**: When you attach a file, its full contents are loaded into {% data variables.product.prodname_copilot_short %}'s context window and considered for every query in that space. This is best when you want {% data variables.product.prodname_copilot_short %} to consistently prioritize a specific document or small set of files.
59+
5260
## Adding context as you're working
5361

5462
You can add files to a space directly from the code view on {% data variables.product.github %}, so you don't need to break your flow when building context for your space.

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)