Skip to content

Commit 65cac12

Browse files
authored
Merge pull request #4800 from github/repo-sync
repo sync
2 parents d1cc385 + 996603d commit 65cac12

18 files changed

+61
-98
lines changed

content/admin/enterprise-management/increasing-cpu-or-memory-resources.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ Before increasing CPU or memory resources for {% data variables.product.product_
3030
#### Supported AWS instance types
3131

3232
You need to determine the instance type you would like to upgrade to based on CPU/memory specifications.
33-
{% data reusables.enterprise_installation.aws-supported-instance-types %}
34-
35-
#### Recommended AWS instance types
36-
37-
{% data reusables.enterprise_installation.aws-recommended-instance-types %}
3833

3934
{% data reusables.enterprise_installation.warning-on-scaling %}
4035

36+
{% data reusables.enterprise_installation.aws-instance-recommendation %}
37+
4138
#### Resizing for AWS
4239

4340
{% note %}

content/admin/installation/installing-github-enterprise-server-on-aws.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,12 @@ This guide assumes you are familiar with the following AWS concepts:
3333

3434
### Determining the instance type
3535

36-
Before launching {% data variables.product.product_location %} on AWS, you'll need to determine the type of virtual machine that best fits the needs of your organization.
37-
38-
#### Supported instance types
39-
40-
{% data reusables.enterprise_installation.aws-supported-instance-types %}
41-
42-
#### Recommended instance types
43-
44-
{% data reusables.enterprise_installation.aws-recommended-instance-types %}
36+
Before launching {% data variables.product.product_location %} on AWS, you'll need to determine the machine type that best fits the needs of your organization. To review the minimum requirements for {% data variables.product.product_name %}, see "[Minimum requirements](#minimum-requirements)."
4537

4638
{% data reusables.enterprise_installation.warning-on-scaling %}
4739

40+
{% data reusables.enterprise_installation.aws-instance-recommendation %}
41+
4842
### Selecting the {% data variables.product.prodname_ghe_server %} AMI
4943

5044
You can select an Amazon Machine Image (AMI) for {% data variables.product.prodname_ghe_server %} using the {% data variables.product.prodname_ghe_server %} portal or the AWS CLI.

content/admin/installation/installing-github-enterprise-server-on-azure.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,15 @@ You can deploy {% data variables.product.prodname_ghe_server %} on global Azure
2424

2525
### Determining the virtual machine type
2626

27-
Before launching {% data variables.product.product_location %} on Azure, you'll need to determine the type of virtual machine that best fits the needs of your organization.
27+
Before launching {% data variables.product.product_location %} on Azure, you'll need to determine the machine type that best fits the needs of your organization. To review the minimum requirements for {% data variables.product.product_name %}, see "[Minimum requirements](#minimum-requirements)."
2828

29-
#### Supported VM types and regions
30-
31-
The {% data variables.product.prodname_ghe_server %} appliance requires a premium storage data disk, and is supported on any Azure VM that supports premium storage. For more information, see "[Supported VMs](https://docs.microsoft.com/azure/storage/common/storage-premium-storage#supported-vms)" in the Azure documentation. For general information about available VMs, see [the Azure virtual machines overview page](https://azure.microsoft.com/pricing/details/virtual-machines/#Linux).
32-
33-
{% data variables.product.prodname_ghe_server %} supports any region that supports your VM type. For more information about the supported regions for each VM, see Azure's "[Products available by region](https://azure.microsoft.com/regions/services/)."
34-
35-
#### Recommended VM types
29+
{% data reusables.enterprise_installation.warning-on-scaling %}
3630

37-
We recommend you use a DS v2 instance type with at least 14 GB of RAM. You can use any supported VM type. Based on your user license count, we recommend the following instance types.
31+
The {% data variables.product.prodname_ghe_server %} appliance requires a premium storage data disk, and is supported on any Azure VM that supports premium storage. Azure VM types with the `s` suffix support premium storage. For more information, see "[What disk types are available in Azure?](https://docs.microsoft.com/en-us/azure/virtual-machines/disks-types#premium-ssd)" and "[Azure premium storage: design for high performance](https://docs.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance)" in the Azure documentation.
3832

39-
| Seats | Recommended type |
40-
|:------------:|:----------------:|
41-
| Trial, demo, or 10 light users | Standard_DS11_v2 |
42-
| 10 - 3000 | Standard_DS12_v2 |
43-
| 3000 - 8000 | Standard_DS14_v2 |
44-
| 8000 - 10000+ | Standard_DS15_v2 |
33+
{% data variables.product.company_short %} recommends a memory-optimized VM for {% data variables.product.prodname_ghe_server %}. For more information, see "[Memory optimized virtual machine sizes](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-memory)" in the Azure documentation.
4534

46-
{% data reusables.enterprise_installation.warning-on-scaling %}
35+
{% data variables.product.prodname_ghe_server %} supports any region that supports your VM type. For more information about the supported regions for each VM, see Azure's "[Products available by region](https://azure.microsoft.com/regions/services/)."
4736

4837
### Creating the {% data variables.product.prodname_ghe_server %} virtual machine
4938

content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,12 @@ topics:
2222

2323
### Determining the machine type
2424

25-
Before launching {% data variables.product.product_location %} on Google Cloud Platform, you'll need to determine the machine type that best fits the needs of your organization.
26-
27-
#### Supported machine types
28-
29-
{% data variables.product.prodname_ghe_server %} is supported on the following Google Compute Engine (GCE) machine types. For more information, see [the Google Cloud Platform machine types article](https://cloud.google.com/compute/docs/machine-types).
30-
31-
| High-memory |
32-
| ------------- |
33-
| n1-highmem-4 |
34-
| n1-highmem-8 |
35-
| n1-highmem-16 |
36-
| n1-highmem-32 |
37-
| n1-highmem-64 |
38-
| n1-highmem-96 |
39-
40-
#### Recommended machine types
41-
42-
Based on your user license count, we recommend these machine types.
43-
44-
| Seats | Recommended type |
45-
|:-------------:|:----------------:|
46-
| Trial, demo, or 10 light users | n1-standard-4 |
47-
| 10 - 3000 | n1-standard-8 |
48-
| 3000 - 5000 | n1-highmem-8 |
49-
| 5000 - 8000 | n1-highmem-16 |
50-
| 8000 - 10000+ | n1-highmem-32 |
25+
Before launching {% data variables.product.product_location %} on Google Cloud Platform, you'll need to determine the machine type that best fits the needs of your organization. To review the minimum requirements for {% data variables.product.product_name %}, see "[Minimum requirements](#minimum-requirements)."
5126

5227
{% data reusables.enterprise_installation.warning-on-scaling %}
5328

29+
{% data variables.product.company_short %} recommends a general-purpose, high-memory machine for {% data variables.product.prodname_ghe_server %}. For more information, see "[Machine types](https://cloud.google.com/compute/docs/machine-types#n2_high-memory_machine_types)" in the Google Compute Engine documentation.
30+
5431
### Selecting the {% data variables.product.prodname_ghe_server %} image
5532

5633
1. Using the [gcloud compute](https://cloud.google.com/compute/docs/gcloud-compute/) command-line tool, list the public {% data variables.product.prodname_ghe_server %} images:

content/code-security/getting-started/about-securing-your-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ These features are available {% if currentVersion == "free-pro-team@latest" %}fo
6969
{% endif %}
7070

7171
{% if currentVersion == "free-pro-team@latest" %}
72-
- **Dependency review** - Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
72+
- **Dependency review** - Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "[About dependency review](/code-security/supply-chain-security/about-dependency-review)."
7373
{% endif %}
7474

7575
{% if currentVersion != "github-ae@latest" %}

content/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ When your code depends on a package that has a security vulnerability, this vuln
2424
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot %} detects vulnerable dependencies and sends {% data variables.product.prodname_dependabot_alerts %}{% else %}{% data variables.product.product_name %} detects vulnerable dependencies and sends security alerts{% endif %} when:
2525

2626
{% if currentVersion == "free-pro-team@latest" %}
27-
- A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)."
28-
- New vulnerability data from [WhiteSource](https://www.whitesourcesoftware.com/vulnerability-database) is processed.{% else %}
27+
- A new vulnerability is added to the {% data variables.product.prodname_advisory_database %}. For more information, see "[Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}](/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database)."{% else %}
2928
- New advisory data is synchronized to {% data variables.product.prodname_ghe_server %} each hour from {% data variables.product.prodname_dotcom_the_website %}. For more information about advisory data, see "<a href="/github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database" class="dotcom-only">Browsing security vulnerabilities in the {% data variables.product.prodname_advisory_database %}</a>."{% endif %}
3029
- The dependency graph for a repository changes. For example, when a contributor pushes a commit to change the packages or versions it depends on{% if currentVersion == "free-pro-team@latest" %}, or when the code of one of the dependencies changes{% endif %}. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)."
3130

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: About dependency review
3+
intro: 'Dependency review lets you catch vulnerable dependencies before you introduce them to your environment, and provides information on license, dependents, and age of dependencies.'
4+
versions:
5+
free-pro-team: '*'
6+
topics:
7+
- pull requests
8+
---
9+
10+
{% note %}
11+
12+
**Note:** Dependency review is currently in beta and subject to change.
13+
14+
{% endnote %}
15+
16+
### About dependency review
17+
18+
{% data reusables.dependency-review.feature-overview %}
19+
20+
If a pull request targets your repository's default branch and contains changes to package manifests or lock files, you can display a dependency review to see what has changed. The dependency review includes details of changes to indirect dependencies in lock files, and it tells you if any of the added or updated dependencies contain known vulnerabilities.
21+
22+
Dependency review is available in:
23+
24+
* All public repositories.
25+
* Private repositories owned by organizations with an {% data variables.product.prodname_advanced_security %} license that have the dependency graph enabled. For more information, see "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository)."
26+
27+
Sometimes you might just want to update the version of one dependency in a manifest and generate a pull request. However, if the updated version of this direct dependency also has updated dependencies, your pull request may have more changes than you expected. The dependency review for each manifest and lock file provides an easy way to see what has changed, and whether any of the new dependency versions contain known vulnerabilities.
28+
29+
By checking the dependency reviews in a pull request, and changing any dependencies that are flagged as vulnerable, you can avoid vulnerabilities being added to your project. For more information about how dependency review works, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
30+
31+
{% data variables.product.prodname_dependabot_alerts %} will find vulnerabilities that are already in your dependencies, but it's much better to avoid introducing potential problems than to fix problems at a later date. For more information about {% data variables.product.prodname_dependabot_alerts %}, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies#dependabot-alerts-for-vulnerable-dependencies)."
32+
33+
Dependency review supports the same languages and package management ecosystems as the dependency graph. For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems)."

content/code-security/supply-chain-security/about-managing-vulnerable-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The dependency graph is a summary of the manifest and lock files stored in a rep
1717
For more information, see "[About the dependency graph](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph)."
1818

1919
#### Dependency review
20-
By checking the dependency reviews on pull requests you can avoid introducing vulnerabilities from dependencies into your codebase. If the pull requests adds a vulnerable dependency, or changes a dependency to a vulnerable version, this is highlighted in the dependency review. You can change the dependency to a patched version before merging the pull request. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
20+
By checking the dependency reviews on pull requests you can avoid introducing vulnerabilities from dependencies into your codebase. If the pull requests adds a vulnerable dependency, or changes a dependency to a vulnerable version, this is highlighted in the dependency review. You can change the dependency to a patched version before merging the pull request. For more information, see "[About dependency review](/code-security/supply-chain-security/about-dependency-review)."
2121

2222
#### {% data variables.product.prodname_dependabot_alerts %}
2323
{% data variables.product.prodname_dotcom %} can create {% data variables.product.prodname_dependabot_alerts %} when it detects vulnerable dependencies in your repository. The alert is displayed on the Security tab for the repository. The alert includes a link to the affected file in the project, and information about a fixed version. {% data variables.product.prodname_dotcom %} also notifies the maintainers of the repository, according to their notification preferences. For more information, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies)."

content/code-security/supply-chain-security/about-the-dependency-graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The dependency graph is a summary of the manifest and lock files stored in a rep
2727
When you push a commit to {% data variables.product.product_name %} that changes or adds a supported manifest or lock file to the default branch, the dependency graph is automatically updated.{% if currentVersion == "free-pro-team@latest" %} In addition, the graph is updated when anyone pushes a change to the repository of one of your dependencies.{% endif %} For information on the supported ecosystems and manifest files, see "[Supported package ecosystems](#supported-package-ecosystems)" below.
2828

2929
{% if currentVersion == "free-pro-team@latest" %}
30-
When you create a pull request containing changes to dependencies that targets the default branch, {% data variables.product.prodname_dotcom %} uses the dependency graph to add dependency reviews to the pull request. These indicate whether the dependencies contain vulnerabilities and, if so, the version of the dependency in which the vulnerability was fixed. For more information, see "[Reviewing dependency changes in a pull request](/github/collaborating-with-issues-and-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
30+
When you create a pull request containing changes to dependencies that targets the default branch, {% data variables.product.prodname_dotcom %} uses the dependency graph to add dependency reviews to the pull request. These indicate whether the dependencies contain vulnerabilities and, if so, the version of the dependency in which the vulnerability was fixed. For more information, see "[About dependency review](/code-security/supply-chain-security/about-dependency-review)."
3131
{% endif %}
3232

3333
### Dependencies included

content/code-security/supply-chain-security/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ topics:
1616

1717
{% topic_link_in_list /understanding-your-software-supply-chain %}
1818
{% link_in_list /about-the-dependency-graph %}
19+
{% link_in_list /about-dependency-review %}
1920
{% link_in_list /exploring-the-dependencies-of-a-repository %}
2021
{% topic_link_in_list /keeping-your-dependencies-updated-automatically %}
2122
{% link_in_list /about-dependabot-version-updates %}

0 commit comments

Comments
 (0)