Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
Co-authored-by: Hector Alfaro <hectorsector@github.com>
This commit is contained in:
hubwriter 2024-11-08 17:21:40 +00:00 коммит произвёл GitHub
Родитель 442c7f5a28
Коммит 4544c97d60
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
14 изменённых файлов: 26 добавлений и 46 удалений

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

@ -8,6 +8,7 @@ layout: inline
versions:
feature: copilot
redirect_from:
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot
- /copilot/managing-copilot-business/configuring-content-exclusions-for-github-copilot
- /copilot/managing-github-copilot-in-your-organization/configuring-content-exclusions-for-github-copilot
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/configuring-content-exclusions-for-github-copilot
@ -23,8 +24,6 @@ topics:
## About content exclusions for {% data variables.product.prodname_copilot_short %}
{% data reusables.copilot.content-exclusion-note %}
You can use content exclusions to configure {% data variables.product.prodname_copilot_short %} to ignore certain files. When you exclude content from {% data variables.product.prodname_copilot_short %}:
* Code completion will not be available in the affected files.
@ -215,10 +214,10 @@ There are a few different ways to test your content exclusions, depending on whi
1. Open a file that you expect to be affected by your content exclusions.
1. Use one or more of the following techniques to test if content is being excluded:
* **In JetBrains IDEs, {% data variables.product.prodname_vs %}, and {% data variables.product.prodname_vscode %}**, check the {% data variables.product.prodname_copilot_short %} icon in the status bar. If a {% data variables.product.prodname_copilot_short %} content exclusion applies to the file, the {% data variables.product.prodname_copilot_short %} icon will have a diagonal line through it. Hover over the icon to see whether an organization or the parent repository disabled {% data variables.product.prodname_copilot_short %} for the file.
* **In JetBrains IDEs, {% data variables.product.prodname_vs %} and {% data variables.product.prodname_vscode %}**, you can also test content exclusions in {% data variables.product.prodname_copilot_chat_short %}. Open the {% data variables.product.prodname_copilot_chat_short %} window, and ask {% data variables.product.prodname_copilot_chat_short %} a question about the excluded file. If your content is excluded successfully, {% data variables.product.prodname_copilot_short %} will be unable to answer your question, and will explain that some files were excluded from the conversation due to content exclusion rules.
* **In Vim/Neovim**, begin typing in the file. If {% data variables.product.prodname_copilot %} no longer provides inline suggestions as you type, the file is excluded.
* You can also test content exclusions in {% data variables.product.prodname_copilot_chat_short %}. Open the {% data variables.product.prodname_copilot_chat_short %} window, and ask {% data variables.product.prodname_copilot_chat_short %} a question about the excluded file. If your content is excluded successfully, {% data variables.product.prodname_copilot_short %} will be unable to answer your question, and will explain that some files were excluded from the conversation due to content exclusion rules.
## Further reading
* "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot)"
* [Configuring content exclusion for {% data variables.product.prodname_vs %} in the Microsoft Learn documentation](https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-github-copilot-admin?view=vs-2022#configure-content-exclusion)
* [Configuring content exclusion for {% data variables.product.prodname_vs %}](https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-github-copilot-admin?view=vs-2022#configure-content-exclusion) in the Microsoft Learn documentation

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

@ -0,0 +1,12 @@
---
title: Configuring and auditing content exclusion
shortTitle: Configure content exclusion
intro: 'You can prevent {% data variables.product.prodname_copilot_short %} from accessing certain content, and review any changes to these settings.'
versions:
feature: copilot
topics:
- Copilot
children:
- /excluding-content-from-github-copilot
- /reviewing-changes-to-content-exclusions-for-github-copilot
---

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

@ -9,12 +9,13 @@ versions:
topics:
- Copilot
redirect_from:
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot
---
{% data reusables.copilot.content-exclusions-availability-and-beta-note %}
Organization and repository settings include the ability to exclude content from being used by {% data variables.product.prodname_copilot %}. You can review any changes that are made to these content exclusion settings.
## Reviewing changes in your repository

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

@ -11,5 +11,5 @@ children:
- /managing-github-copilot-in-your-organization
- /managing-copilot-as-an-individual-subscriber
- /configure-personal-settings
- /configuring-and-auditing-content-exclusion
---

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

@ -11,7 +11,7 @@ topics:
- Copilot
children:
- /managing-the-copilot-subscription-for-your-organization
- /setting-policies-for-copilot-in-your-organization
- /managing-policies-for-copilot-in-your-organization
- /configuring-your-proxy-server-or-firewall-for-copilot
- /managing-access-to-github-copilot-in-your-organization
- /reviewing-activity-related-to-github-copilot-in-your-organization

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

@ -6,6 +6,9 @@ product: 'Organizations with a subscription to {% data variables.product.prodnam
versions:
feature: copilot
redirect_from:
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization
- /copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-business-in-your-organization
- /copilot/managing-copilot-for-business/managing-policies-for-copilot-for-business-in-your-organization
- /copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization

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

@ -9,5 +9,4 @@ topics:
children:
- /reviewing-user-activity-data-for-copilot-in-your-organization
- /reviewing-audit-logs-for-copilot-business
- /reviewing-changes-to-content-exclusions-for-github-copilot
---

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

@ -75,5 +75,6 @@ For more information about enabling telemetry in various IDEs, see:
{% ifversion ghec %}
* "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/viewing-copilot-usage-for-your-enterprise)"{% endif %}
* [{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center)
* "[AUTOTITLE](/copilot/managing-github-copilot-in-your-organization/granting-access-to-copilot-for-members-of-your-organization)."
* "[AUTOTITLE](/copilot/managing-github-copilot-in-your-organization/granting-access-to-copilot-for-members-of-your-organization)"
* "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)"
* "[AUTOTITLE](/copilot/managing-copilot/configuring-and-auditing-content-exclusion/reviewing-changes-to-content-exclusions-for-github-copilot)"

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

@ -1,15 +0,0 @@
---
title: Setting policies for Copilot in your organization
shortTitle: Set policies
intro: 'Organization owners can set policies for {% data variables.product.prodname_copilot %} in their organization.'
versions:
feature: copilot
topics:
- Copilot
children:
- /managing-policies-for-copilot-in-your-organization
- /excluding-content-from-github-copilot
redirect_from:
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization
---

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

@ -31,8 +31,6 @@ When a file is affected by a content exclusion setting, {% data variables.produc
## {% data variables.product.prodname_copilot %} content exclusions are not being applied
{% data reusables.copilot.content-exclusion-note %}
Content exclusion can be configured at the repository{% ifversion ghec %}, organization, and enterprise{% else %} and organization{% endif %} level. The scope of the exclusion is determined by the level at which the rule is set:
{% data reusables.copilot.content-exclusions-scope %}

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

@ -1,2 +1 @@
* In {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %} and {% data variables.product.prodname_vs %}, content exclusions are not applied when you use the `@github` chat participant in your question.
* It's possible that {% data variables.product.prodname_copilot_short %} may use semantic information from an excluded file if the information is provided by the IDE in a non-excluded file. Examples of such content include type information and hover-over definitions for symbols used in code.
It's possible that {% data variables.product.prodname_copilot_short %} may use semantic information from an excluded file if the information is provided by the IDE in a non-excluded file. Examples of such content include type information and hover-over definitions for symbols used in code.

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

@ -1 +0,0 @@
> [!NOTE] Excluding content from {% data variables.product.prodname_copilot %} is currently in {% data variables.release-phases.public_preview %} and is subject to change.

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

@ -1,3 +0,0 @@
> [!NOTE]
> * Excluding content from {% data variables.product.prodname_copilot %} is currently in {% data variables.release-phases.public_preview %} and is subject to change.
> * Content exclusions are currently supported in select IDEs. See "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/about-content-exclusions-for-github-copilot#availability-of-content-exclusions)."

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

@ -1,21 +1,8 @@
* **Repository administrators** can only exclude content for their own repositories. This affects {% data variables.product.prodname_copilot_short %} users working within those specific repositories.
* **Repository administrators** can exclude content for their own repositories. This affects any {% data variables.product.prodname_copilot_short %} users working within those specific repositories.
* **Organization owners** can exclude content for users assigned a {% data variables.product.prodname_copilot_short %} seat through their organization.
{% ifversion ghec %}
<!-- expires 2024-11-08 -->
> [!NOTE] In the current {% data variables.release-phases.public_preview %} release, organization-level settings for content exclusion typically apply to all {% data variables.product.prodname_copilot_short %} users in the enterprise. This will change with the general availability (GA) release of this feature on November 8th, 2024.
>
> **_Before November 8th:_**
> * **If enterprise owners do not set rules**: Organization-level rules will continue to apply to all users across the enterprise, functioning as they do now, until November 8th.
> * **If enterprise owners set a rule**: Once enterprise-level rules are applied, organization-level rules will only apply to users who are assigned a {% data variables.product.prodname_copilot_short %} seat from the organization where the rule is set.<br><br>
>
> **_After November 8th:_**
> * Organization-level rules will no longer apply enterprise-wide. They will be limited to users who are assigned a {% data variables.product.prodname_copilot_short %} seat from the organization where the rule is set.
<!-- end expires 2024-11-08 -->
* **Enterprise owners** can apply exclusion rules to all {% data variables.product.prodname_copilot_short %} users in the enterprise.
{% endif %}