> 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/ai-kdo/ai-code-audit-overview/create-an-ai-code-audit.md).

# コードセキュリティ監査を作成する

作成フローは2ステップです。分析したいリポジトリを選択し、クレジット料金を確認して開始します。

## 前提条件

始める前に、次の点を確認してください:

* **Manage Pentests と AI Code Analysis の** [権限](/docs/docs-ja/hajimeni/automated-user-management/setting-roles-and-permissions.md)これがないと、分析を作成したり既存のものを開いたりできません。
* **少なくとも1つのリポジトリが接続されています。** [自己スキャンしたリポジトリ](/docs/docs-ja/kdosukyan/local-code-scanning.md) は対象外で、ピッカーから除外されます。選択できるのは最大 **6** 分析ごとのリポジトリ数です。
* **ウォレットに十分なクレジットがあること** 見積もり金額をカバーするために。必要に応じて、作成フロー内で追加チャージできます。詳細は [ウォレットとクレジット](/docs/docs-ja/miscellaneous-info/wallet-and-credits.md) 購入の詳細をご覧ください。

## 分析のセットアップ

ウィザードを起動するには、 **AI** **コード分析** をメインナビゲーションでクリックし、 **監査を作成** をページヘッダーでクリックします。

{% stepper %}
{% step %}
**リポジトリを接続**

1. を開き **リポジトリ** ピッカーで最大6件の接続済みリポジトリを選択します。
2. モノレポの監査の焦点を絞るには、選択したリポジトリの横にある **除外パス** をクリックし、分析したくないディレクトリを追加します。たとえば、この監査の対象外である無関係なアプリケーションやサービスを除外します。
3. クリック **続行** をクリックして料金設定へ進みます。

<figure><img src="/files/94ca6d6367b28a30de1f995cb013e013fbc09240" alt="Exclude Paths button next to a selected repository"><figcaption></figcaption></figure>

{% hint style="info" %}
無関係なアプリケーションやサービスは除外してください。ドキュメント、README、その他のコード以外のアセットは除外しないでください。Aikido はそれらのファイルをアーキテクチャの文脈として使用し、セキュリティリスクをより正確に調査できます。
{% endhint %}

**続行** 少なくとも1つのリポジトリが選択されるまで無効のままです。このステップで **キャンセル** をクリックすると、リポジトリ一覧に移動します。続行する前にリポジトリを接続する必要がある場合に便利です。
{% endstep %}

{% step %}
**料金**

Aikido は選択内容のクレジットコストを計算します。見積もりの準備ができると、価格は **フル AI コード分析**の横に表示され、残高はフッターに表示されます。クレジットが不足している場合は、 **クレジットを追加** をクリックしてチャージしてください。

クリック **監査を開始** を起動します。
{% endstep %}
{% endstepper %}

後 **監査を開始**、Aikido は評価の詳細ページに移動し、進行状況を追跡し、結果が届くたびに確認できます。詳細は [進捗と検出結果を追跡](/docs/docs-ja/ai-kdo/ai-code-audit-overview/track-progress-and-findings.md).

## よくある質問

### なぜ6リポジトリ上限があるのですか？

AI Code Analysis は、エージェントの注意を一貫したコードベースの集合に集中させます。6リポジトリを超えると、分析の焦点がぼやけて品質が低下しがちです。1回の分析で本当にもっと必要な場合は、サポートに連絡してください。 のツールチップは **リポジトリ** フィールドは同じパスにリンクしています。

## お困りですか？

を開き **Intercomチャット** クレジット見積もりがずれているように見える場合や、期待していたリポジトリがピッカーに表示されない場合は、右下隅の


---

# 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/ai-kdo/ai-code-audit-overview/create-an-ai-code-audit.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.
