> 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ブランチと直接比較できます。AikidoとCIがまだ連携していない場合に最適です。

この機能を使うと、特定のブランチ／プルリクエスト／タグを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」プロジェクトの重大なセキュリティ問題とスキャンオプションを表示しているリポジトリダッシュボード。](/files/d23303d9ae0aaa67e89e3d7ba8c902e3b66ad7ef)

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

![スキャンタイプのオプションを指定して、指定したコードブランチのセキュリティスキャンを開始します。](/files/af4df94d5ef9710cf162aaebce586ec86e44f78f)

**手順 4。** 右下隅で、スキャンの進行状況を確認できます。スキャンが完了したら、［View Diffs］をクリックします。\
​

![スキャン完了通知と、デモアプリに表示された「View Diffs」ボタン。](/files/7b6f0c36b76a330d20c02ea3444614dec9195113)

**ステップ 5。** 比較ページで、新たに発生した問題と解消された問題を確認します。\
​

![ブランチのセキュリティスキャン概要で、新たに検出された重大度「Critical」と「High」の脆弱性を表示。](/files/5bd20636b1bd70aaedba522c75bf1ef5fdec9530)

これらの手順に従うことで、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.
