觉
AI觉醒星球
Awakening is here
Knowledge File / AI小生意项目库
2026-07-02 6 浏览 免费阅读

Enterprise managed-settings.json 正式发布

GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。

SOURCE / AI小生意项目库 MIN / 9 ACCESS / 免费阅读 POST / 2026-07-02 04:57:26

原贴

查看原文
作者:Allison 来源站点:github.blog 原贴时间:

原文

GitHub Enterprise Cloud customers can configure AI standards through a managed-settings.json file maintained in a .github-private repository in a selected organization. This allows the enterprise to define new governance and extensibility flows that apply to Copilot clients such as VS Code or Copilot CLI. The configuration in managed-settings.json is in addition to the policies available in the AI Controls tab in enterprise settings. managed-settings.json takes precedence over file-based configuration set by users in their clients for the supported keys. The configuration is fetched from the server by Copilot every time a user authenticates, stored in memory, and refreshed hourly. All defined keys are optional so that you may choose what configuration applies best for your governance and extensibility strategy. Additional keys will be continuously added over time. Today the configuration defined in managed-settings.json is enforced in VS Code and Copilot CLI whenever a user has a Copilot Business or Copilot Enterprise license issued from the enterprise or one of its organizations. We are working to extend this support across all Copilot clients through the Copilot SDK. To start using enterprise managed settings, you’ll need to select an organization to host your configuration in the AI Controls tab in enterprise settings or via the API . Copilot looks for managed-settings.json in the organization’s .github-private repository. In the source organization’s .github-private repository, create the managed settings file at copilot/managed-settings.json . Add any of the supported keys and values and commit the file to the default branch for the configuration to take effect in VS Code and Copilot CLI. The supported path for AI standards source is copilot/managed-settings.json , with backward compatibility for .github/copilot/settings.json . If you’ve already configured a source organization for custom agents, this setting uses that same .github-private repository. You can confirm that your configuration is active on the Agents page under AI controls in your enterprise settings. To learn more, see configuring enterprise managed settings . Join the discussion within GitHub Community .

中文翻译

GitHub Enterprise Cloud 客户可以通过在选定组织的 .github-private 仓库中维护的 managed-settings.json 文件来配置 AI 标准。这允许企业定义适用于 Copilot 客户端(如 VS Code 或 Copilot CLI)的新治理和可扩展性流程。managed-settings.json 中的配置是对企业设置中 AI Controls 选项卡中可用策略的补充。对于支持的键,managed-settings.json 优先于用户在客户端中设置的基于文件的配置。每次用户认证时,Copilot 从服务器获取配置,存储在内存中,并每小时刷新一次。所有定义的键都是可选的,以便您可以选择最适合治理和可扩展性策略的配置。未来将持续添加更多键。目前,只要用户拥有企业或其组织颁发的 Copilot Business 或 Copilot Enterprise 许可证,managed-settings.json 中定义的配置就会在 VS Code 和 Copilot CLI 中强制执行。我们正在通过 Copilot SDK 将所有 Copilot 客户端扩展支持。要开始使用企业托管设置,您需要选择在 AI Controls 选项卡中或通过 API 托管配置的组织。Copilot 在组织的 .github-private 仓库中查找 managed-settings.json。在源组织的 .github-private 仓库中,在 copilot/managed-settings.json 位置创建托管设置文件。添加任何支持的键和值,并将文件提交到默认分支,以使配置在 VS Code 和 Copilot CLI 中生效。AI 标准的支持路径为 copilot/managed-settings.json,同时向后兼容 .github/copilot/settings.json。如果您已经为自定义代理配置了源组织,则此设置使用相同的 .github-private 仓库。您可以在企业设置的 AI 控制下的 Agents 页面确认配置已激活。要了解更多,请参阅配置企业托管设置。加入 GitHub Community 讨论。

核心信息

GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。

  • GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。
  • 原贴提到:GitHub Enterprise Cloud customers can configure AI standards through a m
  • 来源:github.blog

详细解读

这是什么信号:GitHub 正在将 Copilot 的治理能力从用户端迁移到企业端,通过集中式配置文件实现 AI 使用策略的标准化。这标志着企业级 AI 工具从“可用”向“可控”的转变,反映了市场对 AI 合规性和安全性的需求增长。

为什么重要:对于大型企业,AI 代码助手的使用可能带来数据泄露、代码质量或合规风险。通过 managed-settings.json,管理员可以统一限制 Copilot 的行为(如禁用某些插件、控制代码建议来源),而无需依赖用户自觉。这降低了风险,并简化了审计。同时,该配置优先于用户本地设置,确保了企业策略的强制力。

对谁有价值:GitHub Enterprise Cloud 的管理员、安全团队和合规团队。他们可以快速部署 AI 使用标准,无需逐一培训用户。开发团队也能受益于一致的 Copilot 体验,减少因不同配置导致的兼容性问题。

可以怎么行动:1. 在 GitHub Enterprise 设置中创建或指定一个组织作为配置源,并确保其拥有 .github-private 仓库。2. 根据企业政策编写 managed-settings.json 文件,例如限制某些 AI 功能或强制启用代码审查。3. 通过 API 或 UI 激活配置,并定期检查状态。4. 测试配置在 VS Code 和 Copilot CLI 中的效果,并关注后续对更多客户端的支持。

风险或限制:当前仅支持 VS Code 和 Copilot CLI,其他客户端尚未生效,可能造成策略覆盖不一致。配置键可选项较多,企业需仔细设计以避免过度限制或遗漏。此外,配置每小时刷新一次,变更生效有延迟。如果用户绕过企业配置(例如使用个人许可证),则可能不受约束,因此需要结合许可证管理。

信息差价值

这条内容的真正价值,不只是“有人发布了一个新功能”,而是它揭示了 github.blog 背后的产品方向、工作流变化或竞争信号。对 OPC 来说,这种信息可以转化成持续追踪的栏目选题。

如果把《Enterprise managed-settings.json 正式发布》放到你的内容系统里,它最大的价值在于帮助读者更快看懂“为什么值得关注”,而不是只看到一条碎片化动态。

参考来源

AI SUMMARY

这篇文章回答了什么

Enterprise managed-settings.json 正式发布主要讲什么?

GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。

这篇文章最值得关注的要点是什么?

GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。;原贴提到:GitHub Enterprise Cloud customers can configure AI standards through a m;来源:github.blog

这篇文章和哪些AI专题相关?

它适合放在AI副业、AI工具专题里阅读。 关联原因:这篇内容命中「项目、小生意、变现」等主题信号。;这篇内容命中「工具」等主题信号。

阅读这篇文章建议先理解哪些关键词?

建议先理解AI工具、工具、自动化、模型、Cursor这些关键词,再结合正文判断工具、机会或风险是否值得进入自己的工作流。

上一篇 GitHub Models 将于2026年7月30日完全退役 下一篇 Claude Code v2.1.198 发布
北竹游乐场 免费玩小游戏 免费玩