> 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/scanned-branches-in-aikido.md).

# Aikidoでスキャンされるブランチ

### 単一ブランチのスキャン <a href="#single-branch-scanning" id="single-branch-scanning"></a>

デフォルトでは、Aikidoは依存関係とコードの問題を確認するために、リポジトリのデフォルトブランチをスキャンします。デフォルトブランチは通常 main/master です。 **Aikidoは、SCMのWebhook経由でプッシュのたびにデフォルトブランチをスキャンし、さらにすべてのリポジトリ、クラウド、コンテナ、ドメインを毎日フル再スキャンします。**

デフォルトブランチを更新すると、Aikidoは毎晩の同期時にこの変更を反映するため、Aikido側での対応は不要です。

場合によっては、デフォルトブランチではなく別のブランチをスキャンするとよいことがあります。たとえば、長期間にわたって別のブランチで開発している場合などです。Aikidoのリポジトリ詳細ページ上部にあるブランチボタンをクリックすると、スキャン対象のブランチを上書きできます。

![GitHubの管理パネルで、masterブランチと問題ステータスを表示しているリポジトリ。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-d75548d237b04712da7bccdbefc12a6422ffe451%2Fucarecdn-769bdbd4-5ab6-4248-a382-b6e56af0438e.png?alt=media)

スケジュール同期でスキャンするブランチを変更できるモーダルが表示されます。

![スキャン用のブランチ名を更新して保存するダイアログボックス。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-65a7b7ba025161bf76684dbdf15e285d78451311%2Fucarecdn-b460fe90-cd2f-41b8-bb40-b54fb7f7aaa1.png?alt=media)

## 複数ブランチのスキャン <a href="#multi-branch-scanning" id="multi-branch-scanning"></a>

同じリポジトリの複数のブランチを定期的にスキャンしたい場合は、Multi-Branch Scanning を有効化するようご連絡ください。これは有料プランでのみ利用可能です。複数ブランチのスキャンが適しているかどうかを確認するには [この記事のユースケースをご覧ください](/docs/docs-ja/kdosukyan/miscellaneous/support-for-multi-branch-scanning.md).


---

# 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/scanned-branches-in-aikido.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.
