> 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.
