> 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)をクリックします **Add Repo**。これにより、該当するソースコード管理ツールが開きます
* 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)

一度に大量のリポジトリを有効にする必要がある場合は、『add repo』をクリックすると、次の画面に戻ります [初期設定](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.
