This commit is contained in:
docubot 2022-10-08 10:47:39 -07:00 коммит произвёл GitHub
Родитель c1382c7f6e
Коммит 56e181de11
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
15 изменённых файлов: 65 добавлений и 130 удалений

Просмотреть файл

@ -63,6 +63,7 @@ translations/zh-CN/content/admin/identity-and-access-management/using-enterprise
translations/zh-CN/content/admin/identity-and-access-management/using-enterprise-managed-users-and-saml-for-iam/configuring-scim-provisioning-for-enterprise-managed-users.md,file deleted because it no longer exists in main
translations/zh-CN/content/admin/identity-and-access-management/using-enterprise-managed-users-and-saml-for-iam/index.md,file deleted because it no longer exists in main
translations/zh-CN/content/admin/identity-and-access-management/using-enterprise-managed-users-and-saml-for-iam/managing-team-memberships-with-identity-provider-groups.md,file deleted because it no longer exists in main
translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise.md,file deleted because it no longer exists in main
translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise.md,file deleted because it no longer exists in main
translations/zh-CN/content/admin/user-management/managing-organizations-in-your-enterprise/managing-unowned-organizations-in-your-enterprise.md,file deleted because it no longer exists in main
translations/zh-CN/content/authentication/managing-commit-signature-verification/adding-a-new-gpg-key-to-your-github-account.md,file deleted because it no longer exists in main
@ -368,7 +369,7 @@ translations/zh-CN/content/code-security/dependabot/working-with-dependabot/mana
translations/zh-CN/content/code-security/getting-started/github-security-features.md,rendering error
translations/zh-CN/content/code-security/getting-started/securing-your-repository.md,rendering error
translations/zh-CN/content/code-security/secret-scanning/about-secret-scanning.md,rendering error
translations/zh-CN/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md,broken liquid tags
translations/zh-CN/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md,rendering error
translations/zh-CN/content/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning.md,rendering error
translations/zh-CN/content/code-security/secret-scanning/managing-alerts-from-secret-scanning.md,rendering error
translations/zh-CN/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md,rendering error
@ -382,6 +383,7 @@ translations/zh-CN/content/code-security/supply-chain-security/understanding-you
translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md,rendering error
translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md,rendering error
translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md,rendering error
translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md,broken liquid tags
translations/zh-CN/content/codespaces/codespaces-reference/allowing-your-codespace-to-access-a-private-image-registry.md,broken liquid tags
translations/zh-CN/content/codespaces/codespaces-reference/disaster-recovery-for-github-codespaces.md,broken liquid tags
translations/zh-CN/content/codespaces/codespaces-reference/security-in-github-codespaces.md,broken liquid tags
@ -446,9 +448,9 @@ translations/zh-CN/content/developers/apps/building-github-apps/authenticating-w
translations/zh-CN/content/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps.md,rendering error
translations/zh-CN/content/developers/apps/building-github-apps/managing-allowed-ip-addresses-for-a-github-app.md,rendering error
translations/zh-CN/content/developers/apps/getting-started-with-apps/differences-between-github-apps-and-oauth-apps.md,broken liquid tags
translations/zh-CN/content/developers/apps/getting-started-with-apps/setting-up-your-development-environment-to-create-a-github-app.md,broken liquid tags
translations/zh-CN/content/developers/apps/guides/creating-ci-tests-with-the-checks-api.md,broken liquid tags
translations/zh-CN/content/developers/apps/guides/using-the-github-api-in-your-app.md,broken liquid tags
translations/zh-CN/content/developers/apps/getting-started-with-apps/setting-up-your-development-environment-to-create-a-github-app.md,rendering error
translations/zh-CN/content/developers/apps/guides/creating-ci-tests-with-the-checks-api.md,rendering error
translations/zh-CN/content/developers/apps/guides/using-the-github-api-in-your-app.md,rendering error
translations/zh-CN/content/developers/overview/about-githubs-apis.md,broken liquid tags
translations/zh-CN/content/developers/overview/managing-deploy-keys.md,broken liquid tags
translations/zh-CN/content/developers/webhooks-and-events/events/issue-event-types.md,broken liquid tags
@ -603,6 +605,7 @@ translations/zh-CN/data/reusables/actions/usage-workflow-run-time.md,rendering e
translations/zh-CN/data/reusables/actions/workflow-basic-example-and-explanation.md,broken liquid tags
translations/zh-CN/data/reusables/actions/workflow-dispatch-inputs.md,rendering error
translations/zh-CN/data/reusables/actions/workflow-template-overview.md,rendering error
translations/zh-CN/data/reusables/advanced-security/about-ghas-organization-policy.md,broken liquid tags
translations/zh-CN/data/reusables/advanced-security/secret-scanning-add-custom-pattern-details.md,rendering error
translations/zh-CN/data/reusables/advanced-security/secret-scanning-create-custom-pattern.md,rendering error
translations/zh-CN/data/reusables/advanced-security/secret-scanning-push-protection-org.md,broken liquid tags
@ -611,6 +614,7 @@ translations/zh-CN/data/reusables/audit_log/audit_log_sidebar_for_org_admins.md,
translations/zh-CN/data/reusables/audit_log/audit_log_sidebar_for_site_admins.md,rendering error
translations/zh-CN/data/reusables/code-scanning/codeql-languages-bullets.md,rendering error
translations/zh-CN/data/reusables/code-scanning/codeql-languages-keywords.md,rendering error
translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning.md,broken liquid tags
translations/zh-CN/data/reusables/code-scanning/example-configuration-files.md,broken liquid tags
translations/zh-CN/data/reusables/code-scanning/licensing-note.md,broken liquid tags
translations/zh-CN/data/reusables/code-scanning/run-additional-queries.md,broken liquid tags
@ -630,6 +634,7 @@ translations/zh-CN/data/reusables/codespaces/your-codespaces-procedure-step.md,b
translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates.md,rendering error
translations/zh-CN/data/reusables/dependabot/default-dependencies-allow-ignore.md,broken liquid tags
translations/zh-CN/data/reusables/dependabot/enabling-disabling-dependency-graph-private-repo.md,rendering error
translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md,broken liquid tags
translations/zh-CN/data/reusables/dotcom_billing/actions-packages-report-download-org-account.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise-accounts/actions-packages-report-download-enterprise-accounts.md,broken liquid tags
translations/zh-CN/data/reusables/enterprise-accounts/billing-microsoft-ea-overview.md,broken liquid tags
@ -642,7 +647,9 @@ translations/zh-CN/data/reusables/gated-features/codespaces-classroom-articles.m
translations/zh-CN/data/reusables/gated-features/dependency-vulnerable-calls.md,rendering error
translations/zh-CN/data/reusables/gated-features/secret-scanning-partner.md,rendering error
translations/zh-CN/data/reusables/gated-features/secret-scanning.md,rendering error
translations/zh-CN/data/reusables/getting-started/enterprise-advanced-security.md,broken liquid tags
translations/zh-CN/data/reusables/identity-and-permissions/ip-allow-lists-enable.md,broken liquid tags
translations/zh-CN/data/reusables/identity-and-permissions/vigilant-mode-beta-note.md,broken liquid tags
translations/zh-CN/data/reusables/notifications-v2/custom-notification-types.md,broken liquid tags
translations/zh-CN/data/reusables/notifications/shared_state.md,rendering error
translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-options.md,rendering error
@ -665,11 +672,12 @@ translations/zh-CN/data/reusables/repositories/repository-branches.md,rendering
translations/zh-CN/data/reusables/repositories/sidebar-notifications.md,rendering error
translations/zh-CN/data/reusables/repositories/suggest-changes.md,broken liquid tags
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,rendering error
translations/zh-CN/data/reusables/secret-scanning/enterprise-enable-secret-scanning.md,broken liquid tags
translations/zh-CN/data/reusables/secret-scanning/partner-secret-list-private-repo.md,rendering error
translations/zh-CN/data/reusables/secret-scanning/push-protection-web-ui-choice.md,broken liquid tags
translations/zh-CN/data/reusables/secret-scanning/secret-list-private-push-protection.md,rendering error
translations/zh-CN/data/reusables/security-overview/permissions.md,rendering error
translations/zh-CN/data/reusables/support/help_resources.md,broken liquid tags
translations/zh-CN/data/reusables/support/help_resources.md,rendering error
translations/zh-CN/data/reusables/user-settings/access_applications.md,rendering error
translations/zh-CN/data/reusables/user-settings/account_settings.md,rendering error
translations/zh-CN/data/reusables/user-settings/appearance-settings.md,rendering error

1 file reason
63 translations/zh-CN/content/admin/identity-and-access-management/using-enterprise-managed-users-and-saml-for-iam/configuring-scim-provisioning-for-enterprise-managed-users.md file deleted because it no longer exists in main
64 translations/zh-CN/content/admin/identity-and-access-management/using-enterprise-managed-users-and-saml-for-iam/index.md file deleted because it no longer exists in main
65 translations/zh-CN/content/admin/identity-and-access-management/using-enterprise-managed-users-and-saml-for-iam/managing-team-memberships-with-identity-provider-groups.md file deleted because it no longer exists in main
66 translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise.md file deleted because it no longer exists in main
67 translations/zh-CN/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-project-board-policies-in-your-enterprise.md file deleted because it no longer exists in main
68 translations/zh-CN/content/admin/user-management/managing-organizations-in-your-enterprise/managing-unowned-organizations-in-your-enterprise.md file deleted because it no longer exists in main
69 translations/zh-CN/content/authentication/managing-commit-signature-verification/adding-a-new-gpg-key-to-your-github-account.md file deleted because it no longer exists in main
369 translations/zh-CN/content/code-security/getting-started/github-security-features.md rendering error
370 translations/zh-CN/content/code-security/getting-started/securing-your-repository.md rendering error
371 translations/zh-CN/content/code-security/secret-scanning/about-secret-scanning.md rendering error
372 translations/zh-CN/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md broken liquid tags rendering error
373 translations/zh-CN/content/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning.md rendering error
374 translations/zh-CN/content/code-security/secret-scanning/managing-alerts-from-secret-scanning.md rendering error
375 translations/zh-CN/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md rendering error
383 translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md rendering error
384 translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md rendering error
385 translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md rendering error
386 translations/zh-CN/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md broken liquid tags
387 translations/zh-CN/content/codespaces/codespaces-reference/allowing-your-codespace-to-access-a-private-image-registry.md broken liquid tags
388 translations/zh-CN/content/codespaces/codespaces-reference/disaster-recovery-for-github-codespaces.md broken liquid tags
389 translations/zh-CN/content/codespaces/codespaces-reference/security-in-github-codespaces.md broken liquid tags
448 translations/zh-CN/content/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps.md rendering error
449 translations/zh-CN/content/developers/apps/building-github-apps/managing-allowed-ip-addresses-for-a-github-app.md rendering error
450 translations/zh-CN/content/developers/apps/getting-started-with-apps/differences-between-github-apps-and-oauth-apps.md broken liquid tags
451 translations/zh-CN/content/developers/apps/getting-started-with-apps/setting-up-your-development-environment-to-create-a-github-app.md broken liquid tags rendering error
452 translations/zh-CN/content/developers/apps/guides/creating-ci-tests-with-the-checks-api.md broken liquid tags rendering error
453 translations/zh-CN/content/developers/apps/guides/using-the-github-api-in-your-app.md broken liquid tags rendering error
454 translations/zh-CN/content/developers/overview/about-githubs-apis.md broken liquid tags
455 translations/zh-CN/content/developers/overview/managing-deploy-keys.md broken liquid tags
456 translations/zh-CN/content/developers/webhooks-and-events/events/issue-event-types.md broken liquid tags
605 translations/zh-CN/data/reusables/actions/workflow-basic-example-and-explanation.md broken liquid tags
606 translations/zh-CN/data/reusables/actions/workflow-dispatch-inputs.md rendering error
607 translations/zh-CN/data/reusables/actions/workflow-template-overview.md rendering error
608 translations/zh-CN/data/reusables/advanced-security/about-ghas-organization-policy.md broken liquid tags
609 translations/zh-CN/data/reusables/advanced-security/secret-scanning-add-custom-pattern-details.md rendering error
610 translations/zh-CN/data/reusables/advanced-security/secret-scanning-create-custom-pattern.md rendering error
611 translations/zh-CN/data/reusables/advanced-security/secret-scanning-push-protection-org.md broken liquid tags
614 translations/zh-CN/data/reusables/audit_log/audit_log_sidebar_for_site_admins.md rendering error
615 translations/zh-CN/data/reusables/code-scanning/codeql-languages-bullets.md rendering error
616 translations/zh-CN/data/reusables/code-scanning/codeql-languages-keywords.md rendering error
617 translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning.md broken liquid tags
618 translations/zh-CN/data/reusables/code-scanning/example-configuration-files.md broken liquid tags
619 translations/zh-CN/data/reusables/code-scanning/licensing-note.md broken liquid tags
620 translations/zh-CN/data/reusables/code-scanning/run-additional-queries.md broken liquid tags
634 translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates.md rendering error
635 translations/zh-CN/data/reusables/dependabot/default-dependencies-allow-ignore.md broken liquid tags
636 translations/zh-CN/data/reusables/dependabot/enabling-disabling-dependency-graph-private-repo.md rendering error
637 translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md broken liquid tags
638 translations/zh-CN/data/reusables/dotcom_billing/actions-packages-report-download-org-account.md broken liquid tags
639 translations/zh-CN/data/reusables/enterprise-accounts/actions-packages-report-download-enterprise-accounts.md broken liquid tags
640 translations/zh-CN/data/reusables/enterprise-accounts/billing-microsoft-ea-overview.md broken liquid tags
647 translations/zh-CN/data/reusables/gated-features/dependency-vulnerable-calls.md rendering error
648 translations/zh-CN/data/reusables/gated-features/secret-scanning-partner.md rendering error
649 translations/zh-CN/data/reusables/gated-features/secret-scanning.md rendering error
650 translations/zh-CN/data/reusables/getting-started/enterprise-advanced-security.md broken liquid tags
651 translations/zh-CN/data/reusables/identity-and-permissions/ip-allow-lists-enable.md broken liquid tags
652 translations/zh-CN/data/reusables/identity-and-permissions/vigilant-mode-beta-note.md broken liquid tags
653 translations/zh-CN/data/reusables/notifications-v2/custom-notification-types.md broken liquid tags
654 translations/zh-CN/data/reusables/notifications/shared_state.md rendering error
655 translations/zh-CN/data/reusables/notifications/vulnerable-dependency-notification-options.md rendering error
672 translations/zh-CN/data/reusables/repositories/sidebar-notifications.md rendering error
673 translations/zh-CN/data/reusables/repositories/suggest-changes.md broken liquid tags
674 translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md rendering error
675 translations/zh-CN/data/reusables/secret-scanning/enterprise-enable-secret-scanning.md broken liquid tags
676 translations/zh-CN/data/reusables/secret-scanning/partner-secret-list-private-repo.md rendering error
677 translations/zh-CN/data/reusables/secret-scanning/push-protection-web-ui-choice.md broken liquid tags
678 translations/zh-CN/data/reusables/secret-scanning/secret-list-private-push-protection.md rendering error
679 translations/zh-CN/data/reusables/security-overview/permissions.md rendering error
680 translations/zh-CN/data/reusables/support/help_resources.md broken liquid tags rendering error
681 translations/zh-CN/data/reusables/user-settings/access_applications.md rendering error
682 translations/zh-CN/data/reusables/user-settings/account_settings.md rendering error
683 translations/zh-CN/data/reusables/user-settings/appearance-settings.md rendering error

Просмотреть файл

@ -91,7 +91,7 @@ For information on creating or accessing your access key ID and secret key, see
- For the provider URL, use `https://oidc-configuration.audit-log.githubusercontent.com`.
- For "Audience", use `sts.amazonaws.com`.
1. Create a bucket, and block public access to the bucket. For more information, see [Creating, configuring, and working with Amazon S3 buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html) in the AWS documentation.
1. Create a policy that allows {% data variables.product.company_short %} to write to the bucket. {% data variables.product.prodname_dotcom %} requires only the following permissions.
1. Create a policy that allows {% data variables.product.company_short %} to write to the bucket by copying the following JSON and replacing `EXAMPLE-BUCKET` with the name of your bucket. {% data variables.product.prodname_dotcom %} requires only the permissions in this JSON.
```
{
@ -103,7 +103,7 @@ For information on creating or accessing your access key ID and secret key, see
"Action": [
"s3:PutObject"
],
"Resource": "arn:aws:s3:::example-bucket/*"
"Resource": "arn:aws:s3:::EXAMPLE-BUCKET/*"
}
]
}

Просмотреть файл

@ -1,40 +0,0 @@
---
title: 在企业中执行高级安全策略
intro: '您可以执行策略来管理企业组织内的 {% data variables.product.prodname_GH_advanced_security %} 功能,或者允许在每个组织中设置策略。'
permissions: 'Enterprise owners can enforce policies for {% data variables.product.prodname_GH_advanced_security %} in an enterprise.'
product: '{% data reusables.gated-features.ghas %}'
versions:
ghec: '*'
ghes: '*'
ghae: '*'
type: how_to
topics:
- Advanced Security
- Code scanning
- Enterprise
- Policies
- Secret scanning
- Security
redirect_from:
- /admin/policies/enforcing-policies-for-advanced-security-in-your-enterprise
- /github/setting-up-and-managing-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise-account
- /github/setting-up-and-managing-your-enterprise/setting-policies-for-organizations-in-your-enterprise-account/enforcing-policies-for-advanced-security-in-your-enterprise-account
shortTitle: Advanced Security policies
ms.openlocfilehash: 1858a854f78695b2fa36e0b84944f2fa05db0d00
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/10/2022
ms.locfileid: '145098990'
---
## 关于企业中 {% data variables.product.prodname_GH_advanced_security %} 的策略
{% data reusables.advanced-security.ghas-helps-developers %} 有关详细信息,请参阅“[关于 {% data variables.product.prodname_GH_advanced_security %}](/get-started/learning-about-github/about-github-advanced-security)”。
{% ifversion ghes or ghec %}如果您购买了 {% data variables.product.prodname_GH_advanced_security %} 许可证,任何{% else %}任何 {% data variables.product.product_location %} {% endif %} 组织都可以使用 {% data variables.product.prodname_advanced_security %} 功能。 您可以执行策略来控制 {% data variables.product.product_name %} 上的企业成员如何使用 {% data variables.product.prodname_advanced_security %}。
## 在企业中执行使用 {% data variables.product.prodname_GH_advanced_security %} 的策略
{% data reusables.advanced-security.about-ghas-organization-policy %}
{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.advanced-security-policies %} {% data reusables.enterprise-accounts.advanced-security-organization-policy-drop-down %} {% data reusables.enterprise-accounts.advanced-security-individual-organization-policy-drop-down %}

Просмотреть файл

@ -21,7 +21,7 @@ children:
- /enforcing-policies-for-security-settings-in-your-enterprise
- /enforcing-policies-for-dependency-insights-in-your-enterprise
- /enforcing-policies-for-github-actions-in-your-enterprise
- /enforcing-policies-for-advanced-security-in-your-enterprise
- /enforcing-policies-for-code-security-and-analysis-for-your-enterprise
shortTitle: Enforce policies
ms.openlocfilehash: 045831c9b6e9632db2f7743f2cf30d965ee3c327
ms.sourcegitcommit: 478f2931167988096ae6478a257f492ecaa11794

Просмотреть файл

@ -5,6 +5,7 @@ intro: You can enable vigilant mode for commit signature verification to mark al
versions:
fpt: '*'
ghec: '*'
ghes: '*'
topics:
- Identity
- Access management
@ -12,6 +13,7 @@ redirect_from:
- /github/authenticating-to-github/displaying-verification-statuses-for-all-of-your-commits
- /github/authenticating-to-github/managing-commit-signature-verification/displaying-verification-statuses-for-all-of-your-commits
---
{% data reusables.identity-and-permissions.vigilant-mode-beta-note %}
## About vigilant mode

Просмотреть файл

@ -155,9 +155,11 @@ Before defining a custom pattern, you must ensure that you enable secret scannin
{% endnote %}
{% data reusables.enterprise-accounts.access-enterprise %}
{% data reusables.enterprise-accounts.policies-tab %}
{% data reusables.enterprise-accounts.policies-tab %}{% ifversion security-feature-enablement-policies %}
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
1. Under "Code security and analysis", click **Security features**.{% else %}
{% data reusables.enterprise-accounts.advanced-security-policies %}
{% data reusables.enterprise-accounts.advanced-security-security-features %}
{% data reusables.enterprise-accounts.advanced-security-security-features %}{% endif %}
1. Under "Secret scanning custom patterns", click {% ifversion ghes = 3.2 %}**New custom pattern**{% else %}**New pattern**{% endif %}.
{% data reusables.advanced-security.secret-scanning-add-custom-pattern-details %}
{%- ifversion secret-scanning-custom-enterprise-36 or custom-pattern-dry-run-ga %}

Просмотреть файл

@ -33,7 +33,9 @@ When you create a pull request containing changes to dependencies that targets t
## Dependency graph availability
{% ifversion fpt or ghec %}The dependency graph is available for every public repository that defines dependencies in a supported package ecosystem using a supported file format. Repository administrators can also set up the dependency graph for private repositories. For more information, see "[Configuring the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph)."{% endif %}
{% ifversion fpt or ghec %}The dependency graph is available for every public repository that defines dependencies in a supported package ecosystem using a supported file format. Repository administrators can also set up the dependency graph for private repositories. {% endif %}For more information {% ifversion ghes %}about configuration of the dependency graph{% endif %}, see "[Configuring the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph)."
{% data reusables.code-scanning.enterprise-enable-dependency-graph %}
{% data reusables.dependabot.dependabot-alerts-dependency-graph-enterprise %}

Просмотреть файл

@ -1,6 +1,6 @@
---
title: 配置依赖项关系图
intro: 通过启用依赖项关系图,用户可识别其项目的依赖项。
title: Configuring the dependency graph
intro: You can allow users to identify their projects' dependencies by enabling the dependency graph.
redirect_from:
- /code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph#enabling-the-dependency-graph
versions:
@ -14,37 +14,39 @@ topics:
- Dependencies
- Repositories
shortTitle: Configure dependency graph
ms.openlocfilehash: 24dcaac4ddd994d544f6caa7d04529e1e4a5d569
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/05/2022
ms.locfileid: '146684075'
---
## 关于依赖关系图
## About the dependency graph
{% data reusables.dependabot.about-the-dependency-graph %}
有关详细信息,请参阅“[关于依赖项关系图](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)”。
For more information, see "[About the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)."
{% ifversion fpt or ghec %}
## 关于配置依赖项关系图
要生成依赖项关系图,{% data variables.product.product_name %} 需要对存储库的依赖项清单和锁定文件具有只读访问权限。 依赖关系图自动为所有公共仓库生成,您可以选择为私有仓库启用它。 若要详细了解如何查看依赖项关系图,请参阅“[探索存储库的依赖项](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository)”。
## 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 "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository)."
{% data reusables.dependency-submission.dependency-submission-link %} {% endif %}
{% data reusables.dependency-submission.dependency-submission-link %}
{% endif %}
{% ifversion ghes %} ##启用依赖项关系图{% data reusables.dependabot.ghes-ghae-enabling-dependency-graph %}{% endif %}{% ifversion fpt or ghec %}
{% ifversion ghes %} ## Enabling the dependency graph
{% data reusables.code-scanning.enterprise-enable-dependency-graph %}
{% data reusables.dependabot.ghes-ghae-enabling-dependency-graph %}{% endif %}{% ifversion fpt or ghec %}
### 为私有仓库启用或禁用依赖关系图
### Enabling and disabling the dependency graph for a private repository
{% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo %} {% endif %}
{% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo %}
首次启用依赖关系图时,将立即剖析受支持的生态系统的任何清单和锁定文件。 依赖关系图通常在几分钟之内填充,但对于依赖项很多的仓库,可能需要更长时间。 启用后,该关系图将在每次推送到存储库{% ifversion fpt or ghec %}以及每次推送到该关系图中的其他存储库时自动更新{% endif %}。
{% data reusables.code-scanning.enterprise-enable-dependency-graph %}
{% endif %}
{% ifversion ghes %} {% ifversion dependency-submission-api %}{% data reusables.dependency-submission.dependency-submission-link %}{% endif %} {% endif %}
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 %}.
## 延伸阅读
{% ifversion ghes %}
{% ifversion dependency-submission-api %}{% data reusables.dependency-submission.dependency-submission-link %}{% endif %}
{% endif %}
{% ifversion ghec %}- [查看组织的见解](/organizations/collaborating-with-groups-in-organizations/viewing-insights-for-your-organization){% endif %}
- “[查看和更新 {% data variables.product.prodname_dependabot_alerts %}](/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts)”
- [漏洞依赖项检测疑难解答](/github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies)
## Further reading
{% ifversion ghec %}- "[Viewing insights for your organization](/organizations/collaborating-with-groups-in-organizations/viewing-insights-for-your-organization)"{% endif %}
- "[Viewing and updating {% data variables.product.prodname_dependabot_alerts %}](/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts)"
- "[Troubleshooting the detection of vulnerable dependencies](/github/managing-security-vulnerabilities/troubleshooting-the-detection-of-vulnerable-dependencies)"

Просмотреть файл

@ -18,7 +18,7 @@ redirect_from:
## Using {% data variables.product.prodname_copilot %}
[{% data variables.product.prodname_copilot %}](https://copilot.github.com/), an AI pair programmer, can be used in any codespace. To start using {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_github_codespaces %}, install the [{% data variables.product.prodname_copilot %} extension from the {% data variables.product.prodname_vscode_marketplace %}](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot).
[{% data variables.product.prodname_copilot %}](https://copilot.github.com/), an AI pair programmer, can be used in any codespace. To start using {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_github_codespaces %}, install the [{% data variables.product.prodname_copilot %} extension from the {% data variables.product.prodname_vscode_marketplace %}](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot). For more information about {% data variables.product.prodname_copilot %} setup and usage, see the [{% data variables.product.prodname_copilot %} documentation](/copilot).
To include {% data variables.product.prodname_copilot %}, or other extensions, in all of your codespaces, enable Settings Sync. For more information, see "[Personalizing {% data variables.product.prodname_github_codespaces %} for your account](/codespaces/customizing-your-codespace/personalizing-github-codespaces-for-your-account#settings-sync)." Additionally, to include {% data variables.product.prodname_copilot %} in a given project for all users, you can specify `GitHub.copilot` as an extension in your `devcontainer.json` file. For information about configuring a `devcontainer.json` file, see "[Introduction to dev containers](/codespaces/customizing-your-codespace/configuring-codespaces-for-your-project#creating-a-custom-dev-container-configuration)."

Просмотреть файл

@ -1,13 +1,5 @@
---
ms.openlocfilehash: a9edfbc5b5f3c0f50ae1e476d393e658751a5079
ms.sourcegitcommit: fb047f9450b41b24afc43d9512a5db2a2b750a2a
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/12/2022
ms.locfileid: "145098396"
---
{% data variables.product.company_short %} 按提交者对 {% data variables.product.prodname_advanced_security %} 计费。 {% ifversion fpt or ghec %}有关详细信息,请参阅“[管理 {% data variables.product.prodname_GH_advanced_security %} 的许可](/billing/managing-licensing-for-github-advanced-security)”。{% elsif ghes %}有关详细信息,请参阅“[管理企业的 {% data variables.product.prodname_GH_advanced_security %}](/admin/advanced-security)”。{% endif %}
{% ifversion fpt or ghec or ghes %}{% data variables.product.company_short %} bills for {% data variables.product.prodname_advanced_security %} on a per-committer basis. For more information, see "[Managing licensing for {% data variables.product.prodname_GH_advanced_security %}](/billing/managing-licensing-for-github-advanced-security)."{% elsif ghes %}For more information, see "[Managing {% data variables.product.prodname_GH_advanced_security %} for your Enterprise](/admin/advanced-security)."{% endif %}
您可以执行策略来控制仓库管理员是否被允许在组织的仓库中为 {% data variables.product.prodname_advanced_security %} 启用功能。 您可以为企业帐户拥有的所有组织或您选择的单个组织配置策略。
You can enforce a policy that controls whether repository administrators are allowed to enable features for {% data variables.product.prodname_advanced_security %} in an organization's repositories. You can configure a policy for all organizations owned by your enterprise account, or for individual organizations that you choose.
对组织禁止 {% data variables.product.prodname_advanced_security %} 将使仓库管理员无法为其他仓库启用 {% data variables.product.prodname_advanced_security %} 功能,但不会对已启用功能的仓库禁用功能。 有关配置 {% data variables.product.prodname_advanced_security %} 功能的详细信息,请参阅“[管理组织的安全和分析设置](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)”或“[管理存储库的安全和分析设置](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)”。
Disallowing {% data variables.product.prodname_advanced_security %} for an organization prevents repository administrators from enabling {% data variables.product.prodname_advanced_security %} features for additional repositories, but does not disable the features for repositories where the features are already enabled. For more information about configuration of {% data variables.product.prodname_advanced_security %} features, see "[Managing security and analysis settings for your organization](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)" or "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)."

Просмотреть файл

@ -1,16 +1,10 @@
---
ms.openlocfilehash: cd30225961136524faf23bf1fc353c0c400cdc2b
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/10/2022
ms.locfileid: "145098775"
---
{% ifversion ghes %}
{% note %}
注意:站点管理员必须为 {% data variables.product.product_location %} 启用 {% data variables.product.prodname_code_scanning %},你才能使用这些功能。 有关详细信息,请参阅“[为设备配置 {% data variables.product.prodname_code_scanning %}](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance)”。
**Note:** Your site administrator must enable {% data variables.product.prodname_code_scanning %} for {% data variables.product.product_location %} before you can use this feature. For more information, see "[Configuring {% data variables.product.prodname_code_scanning %} for your appliance](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance)."
{% ifversion security-feature-enablement-policies %} You may not be able to enable or disable {% data variables.product.prodname_code_scanning %} if an enterprise owner has set a policy at the enterprise level. For more information, see "[Enforcing policies for code security and analysis for your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise)."{% endif %}
{% endnote %}

Просмотреть файл

@ -1,16 +1,10 @@
---
ms.openlocfilehash: 173ad67b9b54108c16978dc5f1a8f01768c7bb37
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/05/2022
ms.locfileid: "145129889"
---
{% ifversion ghes > 3.2 %}
{% note %}
注意:站点管理员必须先为 {% data variables.product.product_location %} 设置 {% data variables.product.prodname_dependabot_updates %},然后你才能使用此功能。 有关详细信息,请参阅“[为企业启用 {% data variables.product.prodname_dependabot %}](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)”。
**Note:** Your site administrator must set up {% data variables.product.prodname_dependabot_updates %} for {% data variables.product.product_location %} before you can use this feature. For more information, see "[Enabling {% data variables.product.prodname_dependabot %} for your enterprise](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)."
{% ifversion security-feature-enablement-policies %} You may not be able to enable or disable {% data variables.product.prodname_dependabot_updates %} if an enterprise owner has set a policy at the enterprise level. For more information, see "[Enforcing policies for code security and analysis for your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise)."{% endif %}
{% endnote %}

Просмотреть файл

@ -1,9 +1 @@
---
ms.openlocfilehash: 3c79982a7666f43d8e490dd4a7111a456f61f38a
ms.sourcegitcommit: 5f9527483381cfb1e41f2322f67c80554750a47d
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/11/2022
ms.locfileid: "145097520"
---
如果企业帐户拥有 GitHub 高级安全许可证,则可以强制实施策略来管理 {% data variables.product.prodname_dotcom %} 企业帐户拥有的组织的高级安全功能。 有关详细信息,请参阅“[在企业帐户中强制实施高级安全策略](/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise)”。
If you have a GitHub Advanced Security license for your enterprise account, you can enforce policies to manage {% data variables.product.prodname_GH_advanced_security %} features for organizations owned by an enterprise account. For more information, see "[Enforcing policies for code security and analysis for your enterprise](/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise)."

Просмотреть файл

@ -1,13 +1,7 @@
---
ms.openlocfilehash: 0d3766d1ee339285978cb9b14f22fb1773561325
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/05/2022
ms.locfileid: "145097364"
---
{% ifversion ghes < 3.7 %}
{% note %}
**注意:** 警惕模式目前处于测试阶段,可能会发生变化。
**Note:** Vigilant mode is currently in beta and subject to change.
{% endnote %}
{% endif %}

Просмотреть файл

@ -1,16 +1,9 @@
---
ms.openlocfilehash: bd43779cdfde11268b296b12ad5f328d3fdbc291
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
ms.translationtype: HT
ms.contentlocale: zh-CN
ms.lasthandoff: 09/10/2022
ms.locfileid: "147876123"
---
{% ifversion ghes %}
{% note %}
注意:站点管理员必须为 {% data variables.product.product_location %} 启用 {% data variables.product.prodname_secret_scanning %},你才能使用这些功能。 有关详细信息,请参阅“[为设备配置 {% data variables.product.prodname_secret_scanning %}](/enterprise/admin/configuration/configuring-secret-scanning-for-your-appliance)”。
**Note:** Your site administrator must enable {% data variables.product.prodname_secret_scanning %} for {% data variables.product.product_location %} before you can use this feature. For more information, see "[Configuring {% data variables.product.prodname_secret_scanning %} for your appliance](/enterprise/admin/configuration/configuring-secret-scanning-for-your-appliance)."
{% ifversion security-feature-enablement-policies %} You may not be able to enable or disable {% data variables.product.prodname_secret_scanning %}, if an enterprise owner has set a policy at the enterprise level. For more information, see "[Enforcing policies for code security and analysis for your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise)."{% endif %}
{% endnote %}