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

  ![リポジトリアクセス設定: 権限を付与する対象として、すべてのリポジトリまたは特定のリポジトリを選択します。](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.
