> 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」の** [権限が必要であり、アセスメントに対する保留中のクレジットも精算されている必要があります。開始から 6 か月以内のアセスメントの発見事項を再テストできます。](/docs/docs-ja/hajimeni/automated-user-management/setting-roles-and-permissions.md)。これがないと、分析を作成したり既存のものを開いたりできません。
* **少なくとも1つのリポジトリが接続されています。** [自己スキャン済みリポジトリ](/docs/docs-ja/kdosukyan/local-code-scanning.md) は対象外で、ピッカーから除外されます。選べるのは最大 **6** 各分析につきリポジトリです。
* **ウォレットに十分なクレジットがあること** 見積もり金額をカバーするためです。必要に応じて、作成フロー内からチャージできます。詳細は [Walletとクレジット](/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).

## FAQ

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

AI コード分析は、エージェントの注意を一貫性のあるコードベース群に集中させます。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.
