> 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/sonono/aikido-forge-integration-troubleshooting.md).

# Forge 連携: トラブルシューティング

**目次：**

* [1. 権限が不足しています](#1-missing-permissions)
* [2. リポジトリがAikidoで有効化されていません](#2-repository-not-active-in-aikido)
* [3. 複数のGitの設定](#3-setup-for-multiple-gits)

## Aikido - Forge連携：トラブルシューティング

#### 1. 権限が不足しています <a href="#id-1-missing-permissions" id="id-1-missing-permissions"></a>

> その人はAikidoにユーザーを持っていますが、ワークスペース内の現在のリポジトリに権限を付与していません

Aikidoのすべての権限は、ソースコード管理ツール内で管理できます。これは通常「App Permissions」にあります。手早い方法は **権限を付与し、リポジトリを有効化することです** AikidoのUIから行うことです

**権限を付与してリポジトリを有効化する手順**

* 次へ移動 [リポジトリ設定ページ ](https://app.aikido.dev/settings/integrations/repositories)に移動し、 **リポジトリを追加**。これにより、それぞれのソースコード管理ツールが開きます
* Aikidoにアクセスさせたいリポジトリを選択します

  ![リポジトリアクセス設定：権限はすべてのリポジトリ、または特定のリポジトリを選択します。](/files/2e9a763635488eec9b00bf12ad52a940d98604db)
* Aikidoがどのリポジトリを **有効化するかを選択します** してスキャンします

  > これは重要です。Aikidoが脆弱性をスキャンし、Forgeに情報を送信できるようにするためです。

  ![脆弱性のスキャン対象となるリポジトリを選択するAikidoの画面。](/files/5a81070cce8ecdecc4b98814cb15c0a9f36019eb)

#### 2. リポジトリがAikidoで有効化されていません <a href="#id-2-repository-not-active-in-aikido" id="id-2-repository-not-active-in-aikido"></a>

> リポジトリには権限がありますが、スキャン対象のリポジトリとして選択されていません。

Aikidoにすべてのリポジトリへの権限を付与していても、夜間スキャン対象として選択されたのは一部だけかもしれません。デフォルトでは、Aikidoはこれらのリポジトリをスキャン対象から無効にしています。

**Aikidoで単一のリポジトリを有効化する手順**

* 次へ移動 [リポジトリ設定ページ](https://app.aikido.dev/settings/integrations/repositories)
* 有効化したいリポジトリに移動し、右側の三点リーダーをクリックします。アクションメニューで「Activate」を選択します。

  ![Javaspringvulnyの項目に対する「Configure」と「Activate」の操作を示すドロップダウンメニュー。](/files/b6368f153d81ed2d900df2d5351e2a8edb42a486)

一度に大量のリポジトリを有効化する必要がある場合は、「リポジトリを追加」をクリックすると、次の [初期設定](https://app.aikido.dev/onboarding/github/connect-repositories) ページに戻ります。そこで、スキャン／有効化したいリポジトリを複数選択できます。

![Aikidoのプラットフォームを使用して、脆弱性をスキャンするリポジトリを選択します。](/files/a903dd5860f9166eb4179035665f51b63039e19c)

#### 3. 複数のGitの設定 <a href="#id-3-setup-for-multiple-gits" id="id-3-setup-for-multiple-gits"></a>

> ユーザーはワークスペースを持っていますが、リポジトリがそのワークスペースにありません。これは、リポジトリが別のGitHub組織に属している場合に起こりえます。

Aikido はサポートしています [複数のGitを接続する](/docs/docs-ja/hajimeni/setting-up-your-account/account-setup-with-multiple-gits.md) （例：GitHubとBitbucketの組み合わせ）や、同じGit内の別組織の場合です。既存のアカウントに新しいGitHub組織を接続したい場合は、 **新しいワークスペースを作成する必要があります。**

**新しいワークスペースを設定する手順**

**ステップ 1:** 右上のプロフィールアイコンをクリックして、新しいワークスペースを追加します。

![別のワークスペースを追加するオプションが強調表示されたユーザープロフィールのドロップダウン。](/files/83d74e891b5597887fb597f957fa079955a21550)

**ステップ 2:** 「Add a New Workspace.」を選択して続行します。

![Aikidoダッシュボード：新しいワークスペースを作成するか、ログアウトするオプションが利用可能。](/files/1ad54b0b323185ef3ecb4d963dbcd6cfc905808e)

**ステップ 3:** 左上隅にあるワークスペース切り替えを使って、異なるGitアカウントを切り替えます。

![GitHub組織の選択と、重大度別のセキュリティ脆弱性の概要を表示するダッシュボード。](/files/1971745e426295446cd69b17a14ee0e1eb8e72e3)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/sonono/aikido-forge-integration-troubleshooting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
