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

# ペンテストの準備

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

すばやくセットアップできるよう、このチェックリストに従ってください。

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

本番環境に影響を与えないよう、ペンテストは非本番環境（例：ステージング）で実施してください。

* **本番環境を再現:** 設定が実際のアーキテクチャと一致していることを確認してください。
* **安全なデータ:** ダミーデータのみを使用してください。実在の顧客PIIは使用しないでください。
* **完全に動作する状態:** すべての機能と連携を有効にしてください。

**ガイドを見る:** [テスト環境を使う理由](/docs/docs-ja/pentesuto/prepare-a-pentest/why-use-a-testing-environment.md)
{% endstep %}

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

お使いのセキュリティツールは、当社のテストエージェントをブロックする可能性があります。これを防ぐには、以下を許可リストに追加してください。 [Aikido の IP](/docs/docs-ja/pentesuto/prepare-a-pentest/ip-addresses-for-pentest.md) で:

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

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

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

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

**ガイドを見る:** [テストユーザーの設定](/docs/docs-ja/pentesuto/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/pentesuto/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/pentesuto/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.
