VS Code と CLI で MDM を経由して管理された Copilot 設定をデプロイ可能に
GitHub は、企業管理者が Microsoft Intune や Jamf などの既存の端末管理ツールを使用して、デバイスレベルで GitHub Copilot の設定を強制適用・管理できる機能を一般提供開始した。
企業管理者は、既存のサーバー管理チャネルに加え、ネイティブモバイルデバイス管理(MDM)およびファイルベース構成を通じて、GitHub Copilot の管理設定を直接デバイスに配信できるようになりました。これは GitHub Copilot CLI および VS Code において一般利用可能です。
デバイスレベルでの展開により、エンドポイントを管理するためにすでに使用しているツールを用いて Copilot のガバナンスを強制できます。Microsoft Intune、Jamf、またはグループポリシーを通じて設定をプッシュするか、Chef、Puppet、Ansible を使用して構成ファイルをデプロイすることが可能です。設定はデバイスから読み込まれるため、開発者のサインイン方法に関わらず、VS Code と Copilot CLI の両方で一貫して適用されます。
配信チャネル
管理された設定は、同じキーと値を使用する 3 つのチャネルのいずれかを通じて配信できます。
ネイティブ MDM は OS レベルの管理済み環境設定を読み取ります。Windows では、設定は HKEY_LOCAL_MACHINE\SOFTWARE\Policies\GitHubCopilot レジストリキーから取得されます。macOS では、com.github.copilot ドメインの管理済み環境設定から取得されます。
ファイルベース方式では、よく知られたパス(macOS の場合 /Library/Application Support/GitHubCopilot/managed-settings.json、Windows の場合 %ProgramFiles%\GitHubCopilot\managed-settings.json、Linux の場合 /etc/github-copilot/managed-settings.json)から managed-settings.json ファイルを読み取ります。ファイルベースの設定は root によって所有されなければならず、世界に書き込み可能であるかシンボリックリンク化されていることはできません。
サーバー管理モードでは、開発者がサインインしている GitHub アカウントから、組織の .github-private リポジトリ内の managed-settings.json ファイルを通じて設定が解決されます。
複数のチャネルが設定を提供する場合、最も優先度の高いチャネルがそのまま適用され、その順序は以下の通りです:
ネイティブ MDM
サーバー管理モード
ファイルベース
サポートされている設定
デバイスレベルのチャネルは、サーバー管理モードと同じ管理設定キーをサポートしており、以下が含まれます:
permissions.disableBypassPermissionsMode
model
enabledPlugins
extraKnownMarketplaces
strictKnownMarketplaces
OpenTelemetry エクスポート構成用の telemetry.*
Scalar 設定ではドット区切りのキーがそのまま使用され、enabledPlugins のような構造化された設定は JSON ストリング値として提供されます。追加のキーは順次追加されていきます。
はじめに
デバイスへの管理設定のデプロイ方法については、「Copilot 管理設定のデプロイ」をご覧ください。すべてのキーと、それらが制御する設定の詳細リストについては、「エンタープライズ管理設定の設定」をご覧ください。
GitHub コミュニティ内のディスカッションに参加してください。
「VS Code および CLI で MDM を経由して Copilot の管理設定をデプロイ」という投稿は、最初に The GitHub Blog に掲載されました。
原文を表示
Enterprise administrators can now deliver managed GitHub Copilot settings directly to devices through native mobile device management (MDM) and file-based configuration, in addition to the existing server-managed channel. This is generally available for GitHub Copilot CLI and VS Code.
Device-level deployment lets you enforce Copilot governance using the same tools you already use to manage endpoints. You can push settings through Microsoft Intune, Jamf, or Group Policy, or deploy a configuration file with Chef, Puppet, or Ansible. Because settings are read from the device, they apply consistently across VS Code and Copilot CLI, regardless of how a developer signs in.
Delivery channels
You can deliver managed settings through any of three channels, all of which use the same keys and values.
Native MDM reads OS-level managed preferences. On Windows, settings come from the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\GitHubCopilot registry key. On macOS, they come from managed preferences for the com.github.copilot domain.
File-based reads a managed-settings.json file from a well-known path (i.e, /Library/Application Support/GitHubCopilot/managed-settings.json on macOS, %ProgramFiles%\GitHubCopilot\managed-settings.json on Windows, and /etc/github-copilot/managed-settings.json on Linux). File-based settings must be owned by root and cannot be world-writable or symlinked.
Server-managed resolves settings from the developer’s signed-in GitHub account via managed-settings.json in your organization’s .github-private repository.
When more than one channel provides settings, the highest-precedence channel wins outright, in this order:
Native MDM
Server-managed
File-based
Supported settings
The device-level channels support the same managed setting keys as the server-managed channel, including:
permissions.disableBypassPermissionsMode
model
enabledPlugins
extraKnownMarketplaces
strictKnownMarketplaces
telemetry.* for OpenTelemetry export configuration
Scalar settings use their dot-separated key directly, while structured settings such as enabledPlugins are supplied as a JSON string value. Additional keys will be added over time.
Getting started
To learn how to deploy managed settings to your devices, see Deploy Copilot managed settings. For the full list of keys and the settings they control, see Configure enterprise managed settings.
Join the discussion within GitHub Community.
The post Deploy managed Copilot settings via MDM in VS Code and CLI appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み