> 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にアクセスさせたいリポジトリを選択します

  ![リポジトリアクセス設定: 権限対象としてすべてのリポジトリまたは特定のリポジトリを選択します。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-d94b4a3237bdb435d50388cc06e7a4b523f63169%2Fucarecdn-c60a1b0d-3f9c-41ff-b65c-c27c907979e4.png?alt=media)
* Aikidoがどのリポジトリを **有効化し** スキャンするかを選択します

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

  ![脆弱性のスキャン対象としてリポジトリを選択するAikidoの画面。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-c7af082dd2d1ecb9fe451d7de7d500d05c55c39c%2Fucarecdn-0231037c-bf20-4269-8702-88cca5d15856.png?alt=media)

#### 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)
* 有効化したいリポジトリに移動し、右側の三点メニューをクリックします。アクションメニューで「有効化」を選択します。

  ![Javaspringvulnyエントリに対する「設定」と「有効化」アクションを示すドロップダウンメニュー。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-f6f17b27b5b24c1cdc3e51e4196423640ca66f55%2Fucarecdn-443198a2-31e5-4cd8-a788-2430d4fa5e4f.png?alt=media)

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

![Aikidoのプラットフォームを使用して、脆弱性スキャン対象のリポジトリを選択します。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-a0d1088a5c143bea548509a1d8fcb9b03f07bf73%2Fucarecdn-5fdc0e3b-3ab0-47d3-a86f-09beca7245f6.png?alt=media)

#### 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:** 右上のプロフィールアイコンをクリックして、新しいワークスペースを追加します。

![別のワークスペースを追加するオプションが強調表示されたユーザープロフィールのドロップダウン。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-9e8383f7e131fbf7800ee5466bc7341f327a810b%2Fucarecdn-8622f892-c25d-4192-9d4b-1718d6d954f5.png?alt=media)

**ステップ 2:** 続けて「新しいワークスペースを追加」を選択します。

![Aikidoダッシュボード: 新しいワークスペースの作成またはログアウトのオプションが利用可能。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-4b562977262ec5c2325165f5866d7d5917724830%2Fucarecdn-520e5e25-cbcf-4056-8b41-0a092ce3df96.png?alt=media)

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

![GitHub組織の選択と、深刻度別のセキュリティ脆弱性の概要を示すダッシュボード。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-9d0c46ff88832f76efae093d92e2fbc1ead03f3d%2Fucarecdn-4ee894b7-873c-4531-87c3-f0c9bf8d9190.png?alt=media)


---

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