settings.json

allowedChannelPlugins

型object[]記述場所管理者設定のみ

(管理設定のみ) 実行を許可するチャネルプラグインの許可リスト。各プラグインはマーケットプレイスとプラグイン名で識別される。設定すると、channelsEnabled が true の間、リストされたプラグインのみが着信チャネルメッセージを送信できる。設定した場合は既定の Anthropic の許可リストを置き換え、未設定なら既定にフォールバックし、空配列ならすべてのチャネルプラグインをブロックする。channelsEnabled: true が必要。See https://code.claude.com/docs/en/channels#restrict-which-channel-plugins-can-run

既定値: 未設定であり、Claude Code は既定の Anthropic の許可リストを使用する。

記述例

{
  "channelsEnabled": true,
  "allowedChannelPlugins": [
    { "marketplace": "claude-plugins-official", "plugin": "telegram" }
  ]
}

使い方・用途

  • claude.ai Team および Enterprise プランで、Anthropic 既定の許可リストに代わる組織独自の channel プラグイン許可リストを定義したい場合
  • organization 内で利用できる channel プラグインを Anthropic 公式プラグインに限定したい場合
  • 自社の内部マーケットプレイスから提供する channel プラグインを承認して利用させたい場合
英語原文(公式ドキュメントより)

(Managed settings only) Allowlist of channel plugins that may run, each identified by its marketplace and plugin name. When set, only the listed plugins can push inbound channel messages while channelsEnabled is true. Replaces the default Anthropic allowlist when set; undefined falls back to the default and an empty array blocks all channel plugins. Requires channelsEnabled: true. See https://code.claude.com/docs/en/channels#restrict-which-channel-plugins-can-run

関連する変更履歴

v2.1.267(1件)

Fixed
マネージド設定の allowedHttpHookUrls、httpHookAllowedEnvVars、allowedChannelPlugins が読み取れない場合に、何でも許可してしまう動作を修正し、何も許可しないようにした。
英語原文を表示
Fixed managed allowedHttpHookUrls, httpHookAllowedEnvVars and allowedChannelPlugins to admit nothing, not everything, when unreadable

関連ドキュメント

v2.1.84(1件)

Added
管理設定にチャンネルプラグインの許可リスト機能 allowedChannelPlugins を追加
英語原文を表示
Added allowedChannelPlugins managed setting for team/enterprise admins to define a channel plugin allowlist

変更後

組織のセキュリティポリシーに合わせて、承認済みの通信経路のみを限定して使用させることができ、安全な外部通知環境を構築できます。

関連ドキュメント