Skip to main content

Managing policies and features for Copilot in your organization

Learn how to manage policies for Copilot Enterprise and GitHub Copilot Business in your organization.

¿Quién puede utilizar esta característica?

Organization owners can configure policies for GitHub Copilot for their organization.

About managing policies for GitHub Copilot

GitHub Copilot Enterprise and GitHub Copilot Business are GitHub Copilot subscriptions, managed at the enterprise and organization levels. Organization owners can manage policies for the use of GitHub Copilot within the organization. The policy settings selected by an organization owner determine the behavior of GitHub Copilot for all organization members granted access to Copilot through the organization.

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 "Aplicación de directivas de GitHub Copilot en tu empresa."

Configuring suggestion matching policies for GitHub Copilot in your organization

GitHub Copilot includes a filter which detects code suggestions that match public code on GitHub. Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If your suggestion matching policy is configured to block matching code, matching suggestions will not be shown to you.

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, GitHub Copilot will use the most restrictive policy.

  1. En la esquina superior derecha de GitHub.com, selecciona la foto de perfil y luego haz clic en Sus organizaciones.

    Captura de pantalla del menú desplegable en la imagen de perfil de @octocat. "Sus organizaciones" se destaca en naranja oscuro.

  2. Junto a la organización, haga clic en Settings.

  3. En la sección "Código, planificación y automatización" de la barra lateral, haga clic en Copilot y, a continuación, haga clic en Directivas.

  4. Under "Policies", in the "Suggestions matching public code" dropdown, select Allowed or Blocked.

Enabling features of GitHub Copilot in your organization

If your enterprise admin has selected No policy for the following features, you can enable or disable these for your organization.

  • Suggestions matching public code
  • Copilot Chat in GitHub.com
  • Copilot Chat in the IDE
  • Copilot in the CLI
  1. En la esquina superior derecha de GitHub.com, selecciona la foto de perfil y luego haz clic en Sus organizaciones.

    Captura de pantalla del menú desplegable en la imagen de perfil de @octocat. "Sus organizaciones" se destaca en naranja oscuro.

  2. Junto a la organización, haga clic en Settings.

  3. En la sección "Código, planificación y automatización" de la barra lateral, haga clic en Copilot y, a continuación, haga clic en Directivas.

  4. Use the dropdown options to the right of each feature to enable or disable that feature for your organization.

Further reading