> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/kdosukyan/connect-your-source-code/connect-github-enterprise/connect-github-enterprise-cloud-and-server-broker-set-up.md).

# GitHub Enterprise（Cloud & Server）を接続（Brokerセットアップ）

Aikido は〜と連携します [GitHub Enterprise Cloud](https://docs.github.com/en/get-started/onboarding/getting-started-with-github-enterprise-cloud) と [GitHub Enterprise Server](https://docs.github.com/en/enterprise-server@3.19/admin/overview/about-github-enterprise-server) 安全なアプリベースの接続を通じて。これにより、Aikido は完全な制御を維持しながら、選択したリポジトリにアクセスできます。この接続は、このガイドで扱うブローカーを通じて確立することもできます。

{% hint style="danger" %}
ワークスペースを設定する前に、以下の要件を注意深くお読みください:

1. **GitHub Organization の権限**: ワークスペースを設定するユーザーが、Aikido アプリケーションをインストールするために GitHub 組織内で十分な権限を持っていることを確認してください。ほとんどの場合、Organization Owner または Organization Administrator の権限が必要です。
2. **一致するメールアドレス**: Google または Microsoft でサインアップする際（下の手順 1 を参照）、サインインに使用するメールアドレスが、ユーザーの GitHub アカウントに関連付けられているメールアドレスと一致していることを確認してください。
   {% endhint %}

### インストール

Aikido は、サーバー上に GitHub App を作成することで GitHub Enterprise の設定に接続します。このアプリには、Aikido が動作するために必要な権限とコールバックが含まれています。作成後は、Aikido にリンクしたい GitHub Server インスタンス上の任意の組織にインストールできます。\
\
インスタンス上に GitHub App を作成するには、以下の手順に従ってください。

{% stepper %}
{% step %}
**アカウントを作成する**

GitHub Enterprise を接続するには、まず Google または Microsoft を使って Aikido にサインアップまたはログインしてください。その [サインアップ画面](https://app.aikido.dev/login)に戻り、】【t\_f3941c4b":"デバイスを接続","t\_5d4f039e":"管理対象デバイスでインストールコマンドを実行する","t\_831d390e":"Workspace ONE UEM コンソールで、次の場所に移動します：","t\_8edbd69c":"リソース","t\_72eed93f":"→","t\_ba9a6e6d":"スクリプト","t\_d113c2a0":"を選択し、","t\_96cd98c8":"Windows","t\_249d2587":"をドロップダウンから選択します。","t\_43b01c7b":"","t\_36c80f14":"一般","t\_f6ef8739":"タブで、スクリプトに名前を付けます（例：\\"Aikido Device Protection Install\\"）。","t\_c35a5a82":"詳細","t\_0acd71e4":"タブで、次を設定します：","t\_be245649":"言語","t\_1ae764eb":"PowerShell","t\_7640c765":"実行コンテキストと権限","t\_4a0c02ed":"システムコンテキスト","t\_ad9531b5":"Aikido ダッシュボードからコピーした PowerShell インストールコマンドを、スクリプト本文に貼り付けます。","t\_b083cb05":"割り当て","t\_2f2f8b67":"タブで、対象の Windows スマートグループにスクリプトを割り当て、トリガーを次回のサンプル時に実行するよう設定します。","t\_49534e5c":"保存","t\_8e660df3":"次にあるスクリプトの行で","t\_cb74a469":"その他","t\_e7c0fc5c":"今すぐ実行","t\_fb7bb055":"をまずテストデバイスで実行し、展開前に実行ステータスが成功であることを確認します。","t\_2876b474":"スクリプトにはデバイス上の Intelligent Hub が必要です。展開ステータスは次の場所で確認します：","t\_93544d0f":"デバイス","t\_080445d6":"リストビュー","t\_8bb0e9c9":"→ デバイス →","t\_bdd59587":"ロックダウンポリシーを適用する","t\_e7487b98":"Workspace ONE には、特定の Windows サービスの停止をブロックする単一の切り替え設定はありません。以下の 2 つの制御を組み合わせて、エージェントの改ざん耐性を高めます。","t\_0fcb4797":"Workspace ONE プロファイルを 2 つ別々に作成します。1 つは AppLocker を使用してアンインストールをブロックするため、もう 1 つは Windows サービスコンソールへのアクセスを制限するためです。","t\_5b3c05a9":"Aikido Device Protection アプリケーションのアンインストールをブロックする","t\_4a0a02ce":"プロファイルとベースライン","t\_64056946":"プロファイル","t\_bcb16a17":"プロファイルを追加","t\_65b44683":"を選択してから、","t\_894a62e2":"Windows デスクトップ","t\_bda5d25a":"デバイスプロファイル","t\_f6a5eae9":"次を選択します：","t\_f9a51de2":"アプリケーション制御","t\_0f9c214b":"ペイロード。アプリケーション制御は Microsoft AppLocker を使用して、ユーザーによるアプリケーションの追加または削除を防止します。","t\_cfd7a295":"次の内容を貼り付けます：","t\_bebb586b":"aikido-applocker-deny-mdm.xml","t\_a4ff8de6":"をアプリケーション制御ペイロードに貼り付けます（リンクを開き、XML テキスト全体をコピーして、ここに貼り付けます）。","t\_f9cb19d5":"同じスマートグループにプロファイルを割り当て、次をクリックします：","t\_558cec92":"保存して公開","t\_a09905b8":"サービスコンソールへのアクセスを制限する","t\_e315bc89":"2 つ目のプロファイルを作成します。次の場所に移動します：","t\_fc8734d7":"カスタム設定","t\_d8a9538b":"ペイロード。","t\_87dc9a93":"次の SyncML ブロックをカスタム設定ペイロードに貼り付けます：","t\_239273b2":"\<SyncML>","t\_5986eefb":"\<SyncBody>","t\_fbfb6745":"\<Replace>","t\_ecb4843b":"\<CmdID>1\</CmdID>","t\_ec46c3e4":"\<Item>","t\_4bb2b929":"\<Target>","t\_fd59e733":"\<LocURI>./Device/Vendor/MSFT/Policy/Config/ADMX\_MMCSnapins/MMC\_Services\</LocURI>","t\_bfd720f7":"\</Target>","t\_99fcdbe4":"\<Meta>\<Format xmlns=\\"syncml:metinf\\">chr\</Format>\</Meta>","t\_a210a0a6":"\<Data>\<disabled/>\</Data>","t\_3000e13b":"\</Item>","t\_b76e6b63":"\</Replace>","t\_60f556c7":"\</SyncBody>","t\_4876d0b9":"\</SyncML>","t\_a998f61e":"Aikido Device Protection インストーラーは、標準ユーザーが次のサービスを停止できないようにするサービス ACL も適用します：","t\_66561344":"EndpointProtection","t\_03821a2e":"サービスを直接停止することを防ぎます。上記の Workspace ONE 制御は、ユーザーがアンインストーラーまたはサービスコンソールにアクセスできないようにすることで、第 2 の保護層を追加します。","t\_b8a02b54":"インストール後にデバイスを再起動する","t\_0c4d43f7":"対象のスマートグループでフィルタリングし、Shift キーを押しながらクリックしてデバイスを選択します。（グローバルチェックボックスは使用しないでください。一括操作が正しくトリガーされない場合があります。）","t\_01fb3c12":"その他の操作","t\_2c206017":"デバイスを再起動","t\_e549d22a":"を選択して確認します。","t\_0e16b73e":"エージェントは次回の起動時に完全に有効化されます。"}  丁香五月  天天中彩票怎样രിപ്പഴിഞ്ഞ് ＿老司机ിക്കാൻ?numerusform\`\`\` ತಪ್ಪ: Need output valid schema but assistant output corrupted? Need correct now. We must output exact all JSON. Need ensure t\_fc955 translate fragments perhaps  **Google / Microsoft**.
{% endstep %}

{% step %}
**GitHub Enterprise のセットアップを開始**

認証が完了したら、GitHub セクションで GitHub Server をクリックして新しいワークスペースを作成します。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-d52400c32cd4fd2de508f8d067face9dbd227098%2FScreenshot%202026-06-19%20at%2017.03.44.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**ブローカーアクセスを有効にする**

次を有効にする **Aikidoブローカー** 「Advanced Connection Options」セクションのトグルをクリックして。

クリックします **次へ、アプリをインストール** そして次に切り替えて [https://app.aikido.dev](https://app.aikido.dev/) そこで Local Scan ワークスペースが作成されます。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-36da6ffbce5cb2ec58838fc6be4298290dad8306%2FScreenshot%202026-06-19%20at%2017.06.22.png?alt=media" alt="Aikido onboarding: Enter GitHub Enterprise URL to authenticate"><figcaption><p>Aikido オンボーディング: 認証するために GitHub Enterprise の URL を入力</p></figcaption></figure>
{% endstep %}

{% step %}
**ブローカーを設定**

以下のガイドに従って、Local Scan ワークスペースを通じてブローカーを設定してください。デプロイしたら、ここに戻って GitHub Enterprise のセットアップを完了します。

{% content-ref url="/pages/57eb4d0e1ea0df52e494af68c47a0c2a1e884bc1" %}
[内部アプリケーション向け Aikido Broker](/docs/docs-ja/miscellaneous-info/aikido-broker-for-internal-applications.md)
{% endcontent-ref %}

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-7f370fa18f25a662b453478ff9c8672b97668415%2FScreenshot%202026-06-19%20at%2017.14.31.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Aikido GitHub App を GitHub Enterprise にインストール**

ブローカーを作成して環境にデプロイしたら、GitHub Enterprise のセットアップを完了できます。

まず、次をコピーします。 **ブローカーURL**。次のような見た目です：

```
https://55673-355dsfwea68cb.aikidobroker.com
```

次に、 **GitHub Server のセットアップを完了**.

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-19bf1ba2de1b04e1fb34cee68b3dfa79be2d1292%2FScreenshot%202026-06-18%20at%2011.36.06.png?alt=media" alt=""><figcaption></figcaption></figure>

という名前のファイルが `install.html` が端末にダウンロードされます。これには、GitHub Enterprise に JSON ペイロードを送信して GitHub App を作成するフォームを含む HTML ページが入っています。

ファイルをブラウザで開き、「インストール」を選択してセットアップを続行してください。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-fd88b2c1dab739347200539894b6390e9d9bc8f1%2FScreenshot%202025-11-25%20at%2017.41.41.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

「インストール」をクリックすると、GitHub Enterprise 上のアプリのインストールを促すページにリダイレクトされます。 `ユーザー用の GitHub App を作成` して、サーバー上にアプリを作成します。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-5cb7260f7e3a4eb540c5798be4f6ce249a5a809a%2FScherm%C2%ADafbeelding%202025-11-25%20om%2016.12.59.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Aikido GitHub App を承認**

次に、OAuth を通じて新しい GitHub App をユーザーアカウントで承認する必要があります。この手順では、アプリが正しく作成されたことと、その使用権限があることを確認します。表示される画面は、以下の例と似ています。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-fd6aeb0a89600635188eaebdca3befb8aa53b3ec%2Ftest.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**GitHub 組織を接続**

アプリケーションをインストールして Aikido にリンクしたい GitHub 組織を選択してください。あとで組織を追加することもできます。組織を選択したら、GitHub App の承認を確認してください。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-ef2b327f934cba08135d31e4f22c0094f9c35c9f%2Ftester.webp?alt=media" alt="" width="375"><figcaption></figcaption></figure>

これで Aikido に戻り、どのリポジトリをスキャンするかを選択できます。必要なリポジトリを選択して続行してください。Aikido は選択したアプリケーションのスキャンを開始します。
{% endstep %}

{% step %}
**Aikido を試す**

アクセスを付与し、スキャンしたいリポジトリを検証すると、ワークスペースは変換され、Aikido は自動的にスキャンを開始します。約 1 分後には、最初の結果が表示されるはずです
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/kdosukyan/connect-your-source-code/connect-github-enterprise/connect-github-enterprise-cloud-and-server-broker-set-up.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
