> 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/penetorshontesuto/prepare-a-pentest/preparing-for-a-pentest.md).

# ペネトストの準備

ペンテストを開始する前に、環境を準備する必要があります。これらの一度きりの手順により、Aikido のエージェントがブロックされることなく安全にアプリにアクセスし、意味のある評価を実施できるようになります。

このチェックリストに従って、すばやく設定を完了しましょう。

{% stepper %}
{% step %}
**テスト環境を準備する**

本番以外の環境（例：ステージング）でペンテストを実施し、本番ユーザーへの影響を避けてください。

* **本番環境を反映：** セットアップが本番のアーキテクチャと一致していることを確認してください。
* **安全なデータ：** ダミーデータのみを使用してください。実際の顧客の PII は使用しないでください。
* **完全に機能する状態：** すべての機能と連携を有効にしてください。
  {% endstep %}

{% step %}
**Aikido の IP を許可リストに追加する**

セキュリティツールによって、テスト用エージェントがブロックされる可能性があります。これを防ぐため、 [Aikido の IP](/docs/docs-ja/penetorshontesuto/prepare-a-pentest/ip-addresses-for-pentest.md) を次の場所で許可リストに追加してください：

* **ネットワークファイアウォール：** 受信トラフィックを許可してください。
* **WAF：** ブロックおよびレート制限のルールを無効にしてください。
* **ボット対策：** 行動ベースのブロックとレート制限を無効にしてください。
  {% endstep %}

{% step %}
**テストアカウントを準備する**

認証が必要なパスをテストできるよう、ステージング環境に専用のテストユーザーを作成してください。

* **ロール：** 少なくとも 1 つの **管理者** と 1 つの **標準ユーザー** を作成し、権限昇格のテストを行ってください。
* **マルチテナント：** 該当する場合は、異なるテナント（例：Tenant A と Tenant B）にユーザーを作成し、データ漏えいがないか確認してください。

**ガイドを見る：** [テストユーザーの設定](/docs/docs-ja/penetorshontesuto/configure-a-pentest/setting-up-authenticated-testing.md)
{% endstep %}

{% step %}
**コードを接続する**

ホワイトボックステストでは、はるかに深い脆弱性を発見できます。ソースコードリポジトリを Aikido に接続すると、エージェントがアプリケーションロジックを完全に把握できるようになり、より正確で影響の大きい検出が可能になります。

**推奨：** アプリケーションに関連するすべてのリポジトリを Aikido に接続してください。

**ガイドを見る：** [リポジトリを接続する](/docs/docs-ja/hajimeni/setting-up-your-account/create-account-and-connect-your-repositories.md)

**リポジトリを接続できませんか？**\
直接リポジトリにアクセスできない場合でも、API 仕様書やその他の内部ドキュメントなどの補助資料を提供することで、カバレッジを改善できます。

**ガイドを見る：** [コードとドキュメントの活用](/docs/docs-ja/penetorshontesuto/configure-a-pentest/leveraging-code-and-documentation.md)
{% endstep %}

{% step %}
**所有権を確認する**

悪用を防ぐため、攻撃を開始する前に所有権の証明を厳格に求めています。

* **確認方法：** 現在、この手順はペンテストウィザードに組み込まれています。新しいペンテストを開始し、最後のステップまで進むと、DNS またはファイルによる確認オプションが表示されます。
  {% endstep %}
  {% endstepper %}

**よくわからない場合は？** 複雑な認証フローやアーキテクチャ上の制約がある場合は、右下の 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/penetorshontesuto/prepare-a-pentest/preparing-for-a-pentest.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.
