> 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/kdosukyan/miscellaneous/support-for-specific-branch-scanning.md).

# 特定ブランチスキャンのサポート

### はじめに <a href="#introduction" id="introduction"></a>

Aikido の手動スキャン機能を利用して、ブランチを現在のプロジェクトの状態／main ブランチと直接比較できます。CI と Aikido をまだ連携していない場合に最適です。

この機能では、特定のブランチ／プルリクエスト／タグを Aikido 上の現在の状態と比較でき、main ブランチとの差分を強調表示します。スキャンには通常 **1～2分** かかるため、UI を離れる必要はありません。

**注意。** 毎日のスキャンが必要な古いレガシーブランチ（例: branch V3、branch V4）がある場合は、 [マルチブランチスキャン機能](https://help.aikido.dev/en/articles/8979512-how-to-set-up-multi-branch-scanning).

### 特定のブランチをスキャンする方法 <a href="#how-to-scan-a-specific-branch" id="how-to-scan-a-specific-branch"></a>

**ステップ 1**: Aikido 内で特定のリポジトリ詳細ページに移動します

**手順2**: 「Scan Branch」ボタンをクリックします。\
​

![「terragoat」プロジェクトの重要なセキュリティ問題とスキャンオプションを表示しているリポジトリダッシュボード。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-d63121714879f7ecb114f0d4fa0329e74dd3539d%2Fucarecdn-ca647507-fde6-4251-b500-75c661626bff.png?alt=media)

**ステップ 3:** 表示されたフィールドに、 **ブランチまたはタグの名前** を入力してください。エラーを避けるため、ブランチ／タグ名は正確に入力してください。実行するスキャンの種類を選択できます。

![スキャンタイプのオプションを使用して、指定したコードブランチのセキュリティスキャンを開始します。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-99b75f70fea472a175e285d470f76803b3aa828c%2Fucarecdn-0e7d4328-0929-42f6-ade1-92a9343d9cc0.png?alt=media)

**手順 4.** 右下隅でスキャンの進行状況を確認できます。スキャンが完了したら、「差分を表示」をクリックします。\
​

![デモアプリケーションで「差分を表示」ボタンが表示された、スキャン完了通知。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-87c142bfd9aaa1a3816fe0082751b10a6eaaeeee%2Fucarecdn-48a505a7-62a0-46fb-8a65-2f09bf3bbca8.png?alt=media)

**手順 5。** 比較ページで、新たに発生した問題と解決済みの問題を確認します。\
​

![新たに発生した重要度「Critical」および「High」の脆弱性を示す、ブランチのセキュリティスキャン概要。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-2651e8681165c657f6f2de87508d5b9d4546e9c6%2Fucarecdn-6c609701-289b-423a-92d7-49f4b8756e16.png?alt=media)

これらの手順に従うことで、Aikido でブランチ／タグを手動スキャンし、変更を確認し、新規または解決済みの問題を特定し、メインコードベースにそのブランチを統合するかどうかを適切に判断できます。

***


---

# 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/kdosukyan/miscellaneous/support-for-specific-branch-scanning.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.
