About policies for GitHub Copilot
Organization owners can set policies to govern how GitHub Copilot can be used within the organization. For example, an organization owner can enable or disable the following Copilot features:
- Copilot in GitHub.com
- Copilot Chat in the IDE
- Editor preview Copilot features, such as:
- Image support in Copilot Chat (available in VS Code and Visual Studio)
Hinweis
This setting only applies to preview features within Copilot and does not control all preview-related settings in VS Code.
- Image support in Copilot Chat (available in VS Code and Visual Studio)
- Copilot-Programmier-Agent (public preview)
- Copilot Spaces (public preview)
- MCP servers on GitHub.com (public preview)
- Copilot-Chat in GitHub Mobile
- Copilot in der CLI and Windows Terminal
- Copilot in GitHub Desktop (public preview)
- Suggestions matching public code
- Access to alternative models for Copilot
- Anthropic Claude in Copilot
- Google Gemini in Copilot
- OpenAI models in Copilot
The policy settings selected by an organization owner determine the behavior of Copilot for all organization members that have been granted access to Copilot through the organization.
Policies for suggestion matching
Organization settings include an option to either allow or block code suggestions that match publicly available code. If you choose to block suggestions matching public code, Copilot will check potential code suggestions and the surrounding code of about 150 characters against public code on GitHub. If there is a match, or a near match, the suggestion is not shown.
Enabling Copilot features in your organization
Hinweis
Copilot 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 Managing policies and features for Copilot in your enterprise.
-
Wähle in der rechten oberen Ecke auf GitHub dein Profilfoto aus, und klicke dann auf Your organizations.
-
Klicke neben der Organisation auf Einstellungen.
-
Klicken Sie auf der Randleiste unter „Code, Planung und Automatisierung“ auf Copilot und dann auf Richtlinien.
-
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.
-
If your organization has a Copilot Business plan and you enable "Copilot in GitHub.com", two additional options are displayed:
-
Erfassen von Benutzer-Feedback erlauben: Wenn dieses Kontrollkästchen aktiviert ist, können Benutzer*innen Feedback zu Zusammenfassungen von Copilot-Pull-Requests geben. Weitere Informationen finden Sie unter Creating a pull request summary with GitHub Copilot.
-
Abonnieren von Previewfunktionen: Wenn diese Option aktiviert ist, können Benutzer*innen neue Copilot-Features testen, die noch nicht allgemein verfügbar sind. Beachten Sie, dass die Vorschau von Features Schwachstellen aufweisen kann und dass die Features jederzeit geändert oder nicht mehr unterstützt werden können. Zu den aktuellen Vorschauversionen von Copilot-Features gehören:
- Copilot Spaces. Weitere Informationen findest du unter About organizing and sharing context with Copilot Spaces.
- Benutzerdefinierte Anweisungen für das Repository für Copilot Code Review. Weitere Informationen findest du unter Anpassen der Bewertungen von Copilot mit benutzerdefinierten Anweisungen.
-
Tipp
If you choose to enable Copilot-Programmier-Agent for users, you also need to define which repositories the agent is available in, see Adding Copilot-Programmier-Agent to your organization.
Setting a policy for GitHub Copilot-Erweiterungen in your organization
GitHub Copilot-Erweiterungen integrate external tools with GitHub Copilot Chat. See Using extensions to integrate external tools with Copilot Chat.
Before you install Copilot-Erweiterungen in your organization, you should set a usage policy for your organization. Setting a usage policy allows you to enable or disable Copilot-Erweiterungen for all members of your organization, limiting your security risk.
- Wähle in der rechten oberen Ecke auf GitHub dein Profilfoto aus, und klicke dann auf Your organizations.
- Klicke neben der Organisation auf Einstellungen.
- Klicken Sie auf der Randleiste unter „Code, Planung und Automatisierung“ auf Copilot und dann auf Richtlinien.
- In the "Copilot-Erweiterungen" section, select the dropdown menu, then enable or disable Copilot-Erweiterungen for your organization.
Managing permissions for a GitHub Copilot-Erweiterung in your organization
After you have installed a Copilot-Erweiterung in your organization, you can view the permissions the extension has in your organization, and why those permissions are necessary. If you do not want the Copilot-Erweiterung to have the listed permissions, you can suspend or uninstall the extension.
- Wähle in der rechten oberen Ecke auf GitHub dein Profilfoto aus, und klicke dann auf Your organizations.
- Klicke neben der Organisation auf Einstellungen.
- Klicken Sie in der Randleiste unter „Zugriff durch Drittanbieter“ auf GitHub Apps. Eine Liste der GitHub Apps, die in deiner Organisation installiert sind, wird angezeigt.
- Optionally, to filter your installed GitHub Apps for Copilot-Erweiterungen, select the Filter: dropdown menu, then click Copilot-Erweiterungen.
- Next to the Copilot-Erweiterung you want to review or modify, click Configure.
- In the "Permissions" section, review the permissions listed for the Copilot-Erweiterung. Optionally, you can block the Copilot-Erweiterung's access to your organization in one of two ways:
- To indefinitely suspend the Copilot-Erweiterung's access to resources in your organization while keeping the extension installed, in the "Danger zone" section, click Suspend.
- To uninstall a Copilot-Erweiterung completely, in the "Danger zone" section, click Uninstall.