Skip to content

Repo sync #33257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: About GitHub Copilot Business
intro: 'With {% data variables.product.prodname_copilot_for_business %} you can manage access to {% data variables.product.prodname_copilot %} for your organization{% ifversion ghec%} or enterprise{% endif %}.'
product: '{% data reusables.gated-features.copilot-billing %}'
product: '{% data reusables.gated-features.copilot-business %}'
redirect_from:
- /copilot/overview-of-github-copilot/about-github-copilot-for-business
- /copilot/overview-of-github-copilot/about-github-copilot-business
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ shortTitle: About PR summaries
intro: 'With {% data variables.product.prodname_copilot_for_prs %}, you can create an AI-generated description for a pull request.'
versions:
feature: copilot
product: '{% data reusables.gated-features.copilot-enterprise %}'
permissions: 'Members of an enterprise with a subscription to [{% data variables.product.prodname_copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)'
topics:
- Copilot
type: rai
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ shortTitle: Create a PR summary
intro: 'You can generate a summary in the description of a pull request, or as a comment.'
versions:
feature: copilot-pr-summaries
product: '{% data reusables.gated-features.copilot-enterprise %}'
permissions: 'Members of an enterprise with a subscription to [{% data variables.product.prodname_copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)'
topics:
- Copilot
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: About GitHub Copilot Enterprise
shortTitle: About Copilot Enterprise
intro: 'Learn about {% data variables.product.prodname_copilot_enterprise %} and how it compares to other {% data variables.product.prodname_copilot_short %} plans.'
product: '{% data reusables.gated-features.copilot-billing %}'
product: '{% data reusables.gated-features.copilot-enterprise %}'
versions:
feature: copilot
topics:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: Managing policies and features for Copilot in your organization
intro: 'Learn how to manage policies for {% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise_short %} and{% endif %} {% data variables.product.prodname_copilot_for_business %} in your organization.'
permissions: Organization owners can configure policies for {% data variables.product.prodname_copilot %} for their organization.
intro: 'Learn how to manage policies for {% data variables.product.prodname_copilot %} in your organization.'
permissions: Organization owners
product: '{% data reusables.gated-features.copilot-business-and-enterprise %}'
versions:
feature: copilot
redirect_from:
Expand All @@ -13,45 +14,46 @@ topics:
shortTitle: Managing policies
---

## About managing policies for {% data variables.product.prodname_copilot %}
## About policies for {% data variables.product.prodname_copilot %}

{% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise %} and {% endif %}{% data variables.product.prodname_copilot_for_business %} {% ifversion ghec %}are{% else %}is a{% endif %} {% data variables.product.prodname_copilot %} subscription{% ifversion ghec %}s{% endif %}, managed at the {% ifversion ghec %}enterprise and{% endif %} organization level{% ifversion ghec %}s{% endif %}. Organization owners can manage policies for the use of {% data variables.product.prodname_copilot %} within the organization. The policy settings selected by an organization owner determine the behavior of {% data variables.product.prodname_copilot %} for all organization members granted access to {% data variables.product.prodname_copilot_short %} through the organization.
Organization owners can set policies to govern how {% data variables.product.prodname_copilot %} can be used within the organization. For example, an organization owner can enable or disable the following {% data variables.product.prodname_copilot_short %} features{% ifversion ghec %} (unless an enterprise owner has blocked access to these features at the enterprise level){% endif %}:

{% ifversion ghec %}Enterprise owners can manage policies for organizations within the enterprise. Where explicit settings have been selected at the enterprise level, an organization owner cannot override those settings at the organization level. For more information on managing policies at the enterprise level, see "[AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-copilot-in-your-enterprise)."{% endif %}
- Suggestions matching public code{% ifversion ghec %}
- {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %} (if your organization has a {% data variables.product.prodname_copilot_enterprise_short %} subscription){% endif %}
- {% data variables.product.prodname_copilot_chat_short %} in the IDE
- {% data variables.product.prodname_copilot_cli_short %}

## Configuring suggestion matching policies for {% data variables.product.prodname_copilot %} in your organization
The policy settings selected by an organization owner determine the behavior of {% data variables.product.prodname_copilot %} for all organization members that have been granted access to {% data variables.product.prodname_copilot_short %} through the organization.

{% data variables.product.prodname_copilot %} includes a filter which detects code suggestions that match public code on {% data variables.product.prodname_dotcom %}. {% data variables.product.prodname_copilot_short %} checks code suggestions with their surrounding code of about 150 characters against public code on {% data variables.product.prodname_dotcom %}. If your suggestion matching policy is configured to block matching code, matching suggestions will not be shown to you.
{% ifversion ghec %}

{% ifversion ghec %}If your enterprise admin has selected **No policy** for suggestion matching at the enterprise level, you can set a suggestion matching policy for your organization. If an organization member is assigned a seat by multiple organizations with different suggestion matching policies under the same enterprise, {% data variables.product.prodname_copilot %} will use the most restrictive policy.{% endif %}
{% data variables.product.prodname_copilot_short %} policies are also managed at the enterprise level. If your organization is part of an enterprise, and explicit settings have been selected at the enterprise level, you cannot override those settings at the organization level. For more information on managing policies at the enterprise level, see "[AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-copilot-in-your-enterprise)."

{% data reusables.profile.access_org %}
{% data reusables.profile.org_settings %}
{% data reusables.copilot.policy-settings %}
1. Under "Policies", in the "Suggestions matching public code" dropdown, select **Allowed** or **Blocked**.
{% endif %}

## Enabling features of {% data variables.product.prodname_copilot %} in your organization
### Policies for suggestion matching

{% ifversion ghec %}If your enterprise admin has selected **No policy** for the following features, you can enable or disable these for your organization.{% else %}You can enable or disable the following features for {% data variables.product.prodname_copilot %}.{% endif %}
Organization settings include an option to either allow or block code completion suggestions that match publicly available code. If you choose to block suggestions matching public code, {% data variables.product.prodname_copilot %} will check potential code completion suggestions and the surrounding code of about 150 characters against public code on {% data variables.product.prodname_dotcom %}. If there is a match, or a near match, the suggestion is not shown.

- Suggestions matching public code{% ifversion ghec %}
- {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %} (if your organization has a {% data variables.product.prodname_copilot_enterprise_short %} subscription){% endif %}
- {% data variables.product.prodname_copilot_chat_short %} in the IDE
- {% data variables.product.prodname_copilot_cli_short %}
{% ifversion ghec %}If your enterprise admin has selected **No policy** for suggestion matching at the enterprise level, you can set a suggestion matching policy for your organization.

If an organization member is assigned a seat by multiple organizations with different suggestion matching policies under the same enterprise, {% data variables.product.prodname_copilot %} will use the most restrictive policy.{% endif %}

## Enabling {% data variables.product.prodname_copilot_short %} features in your organization

{% data reusables.profile.access_org %}
{% data reusables.profile.org_settings %}
{% data reusables.copilot.policy-settings %}
1. Use the dropdown options to the right of each feature to enable or disable that feature for your organization.

For example, to enable or disable suggestion matching, in the "Suggestions matching public code" dropdown, select **Allowed** or **Blocked**.

{% ifversion ghec %}
1. If your organization has a {% data variables.product.prodname_copilot_enterprise_short %} subscription and you enable {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %}, the option **Give {% data variables.product.prodname_copilot_short %} access to Bing** is displayed. Depending on your enterprise settings, you may be able to enable this option. When this option is enabled, {% data variables.product.prodname_copilot_chat_short %} will use search results from Bing to answer some questions.
{% endif %}

## Further reading

- [{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center)
- "[AUTOTITLE](/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions)"
{% ifversion ghec %}- "[AUTOTITLE](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)"{% endif %}
- "[AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-ides/about-github-copilot-chat-in-your-ide)"
- "[AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/about-github-copilot-chat-in-github-mobile)"
- "[AUTOTITLE](/copilot/github-copilot-in-the-cli/about-github-copilot-in-the-cli)"
- "[AUTOTITLE](/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions)"{% ifversion ghec %}
- "[AUTOTITLE](/copilot/github-copilot-enterprise/overview/enabling-github-copilot-enterprise-features)"{% endif %}
2 changes: 1 addition & 1 deletion data/reusables/copilot/policy-settings.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1. In the "Code, planning, and automation" section of the sidebar, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}**, and then click **Policies**.
1. In the sidebar, under "Code, planning, and automation", click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}**, and then click **Policies**.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Organizations with a subscription to [{% data variables.product.prodname_copilot_for_business %}](/copilot/copilot-business/about-github-copilot-business) or [{% data variables.product.prodname_copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise).
4 changes: 4 additions & 0 deletions data/reusables/gated-features/copilot-business.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% data variables.product.prodname_copilot_for_business %} is available for the following types of accounts:

- Organizations with a {% data variables.product.prodname_free_team %} or {% data variables.product.prodname_team %} plan
- Enterprises and organizations on {% data variables.product.prodname_ghe_cloud %}
2 changes: 1 addition & 1 deletion data/reusables/gated-features/copilot-enterprise.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
To use this feature, you must be a member of an enterprise with a {% data variables.product.prodname_copilot_enterprise_short %} subscription.
{% data variables.product.prodname_copilot_enterprise %} is available for enterprise accounts on {% data variables.product.prodname_ghe_cloud %}.
Loading