关于 Copilot subscription-based network routing
作为企业或组织所有者,你可以使用网络防火墙明确允许对 GitHub Copilot Business 或 GitHub Copilot Enterprise 或两者 的访问权限,和/或阻止对 GitHub Copilot Pro 或 GitHub Copilot Free 的访问权限。 这样,便可以控制成员可以在网络中使用的 GitHub Copilot 计划。
配置 Copilot subscription-based network routing 将影响以下 Copilot 功能:
- Visual Studio Code、Visual Studio、JetBrains IDE 和 Vim/NeoVim 中的代码补全。
- Visual Studio Code、Visual Studio 和 JetBrains IDE 中的 Copilot Chat
- GitHub 上的 Copilot Chat
- GitHub Mobile 应用程序
- Copilot in the CLI
Copilot subscription-based network routing 针对所有用户启用。 这可确保用户通过特定于其 Copilot 计划的终结点访问 Copilot。 只有 Copilot Business 用户才能连接到 Copilot Business 终结点,而只有 Copilot Enterprise 用户才能连接到 Copilot Enterprise 终结点。
确保持续访问 Copilot 的重要步骤
你应确保防火墙允许访问“为 Copilot 配置代理服务器或防火墙”中列出的所有主机名。
为你的企业或组织配置 Copilot subscription-based network routing
企业或组织所有者可以将 Copilot Business 或 Copilot Enterprise或两者的终结点添加到允许列表中。 这将确保成员只能通过允许的终结点访问 Copilot。
Note
如果企业帐户同时包含 Copilot Business 和 Copilot Enterprise 计划,请确保将这两个终结点都添加到允许列表中。
-
确保成员至少已更新到其 Copilot 客户端的最低版本,如下所示。
- 对于 Visual Studio Code,请使用 Copilot Chat 版本 0.17 或更高版本。
- 对于 JetBrains IDE,请使用 Copilot 版本 1.5.6.5692 或更高版本。
- 对于 Visual Studio,请使用版本 VS 2022 17.11 或更高版本。
-
更新公司网络防火墙,将以下一条或两条路径包含在允许列表中:
-
对于 Copilot Business 计划,请添加
*.business.githubcopilot.com
-
对于 Copilot Enterprise 计划,请添加
*.enterprise.githubcopilot.com
Note
*
表示通配符。 由于 Copilot 需要多个子域才能正常工作,因此必须使用通配符。 -
-
更新企业网络防火墙,将
*.individual.githubcopilot.com
包含在阻止名单中。