> 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/continuous-pentesting.md).

# 継続的ペンテスト

継続的ペンテストは、変更後にアプリケーションを自動で再テストします。

最後の完全アセスメントをベース設定として使用します。その後、コードの進化に合わせて、より小規模で対象を絞った追加テストを実行します。

## 料金と利用状況

継続的ペンテストは従量課金です。各実行の料金は、実際に起動したエージェント数に基づき、エージェント1つにつき10クレジットです。

想定費用を確認するには：

1. を開き、 [料金ページ](https://app.aikido.dev/ai-pentests/pricing).
2. 見積もりに含めるリポジトリを選択してください。

料金ページには、継続的ペンテストの年間推定クレジット費用が表示されます。 **1クレジット = 1米ドル。**

これは、過去30日間のGitアクティビティに基づく年換算予測です。アクティビティの変化に応じて変わる場合があります。

設定された各デプロイまたはスケジュールごとに、Aikidoはまず変更内容を確認します。セキュリティ関連の変更に必要なエージェントを起動し、最終的に起動した数に基づいてクレジットを請求します。変更が大きいほど起動するエージェント数は増え、変更が小さいほど通常は少なくなります。ドキュメントの変更、テスト専用の変更、その他の非セキュリティ変更は、費用なしでスキップされます。

{% hint style="info" %}
**目安：** 実行コスト = `起動したエージェント数 × 10クレジット`.
{% endhint %}

以下を参照してください [料金ページ](https://app.aikido.dev/ai-pentests/pricing) 年間換算の見積もりでは [ペンテストの料金](/docs/docs-ja/penetorshontesuto/pentest-pricing.md) およびすべての料金オプションで。

その **今すぐ実行、支払いは後で** 無料条件（HighまたはCriticalの検出がなければ支払い不要）は、あなたの **最初の完全評価**。Continuous Pentestingの実行には適用されません。詳細は [今すぐ実行、支払いは後で](/docs/docs-ja/penetorshontesuto/pentest-pricing.md#run-now-pay-later) 詳細について。

## 継続的ペンテストを有効にする

### 前提条件

継続的ペンテストを有効にする前に、次を確認してください：

* あなたには **ペンテストの管理** 権限があります。
* このプロジェクトで少なくとも1回の完全アセスメントを完了していること。
* 完全アセスメントにリポジトリが接続されていること。
* ウォレット残高が少なくとも **1,000クレジット**.

### 頻度を設定する

1. 移動先 **ペンテスト** してプロジェクトを開いてください。
2. クリック **継続的テスト** をプロジェクトヘッダーで。
3. 頻度を選択してください：
   * **すべてのデプロイで実行**
     * 接続済みの各リポジトリで、どのブランチがテストのトリガーになるかを選択してください。
     * を設定します。 **開始遅延** 複数のコミットを1回の実行にまとめるために。
   * **スケジュール実行**:
     * 毎日、毎週、毎月、またはカスタム間隔。
     * 継続的ペンテストを有効にするとスケジュールが開始されます。
4. クリック **継続的テストを有効にする** をクリックして確認します。

<div data-with-frame="true"><figure><img src="/files/aaf80c644980e44133de4686a17f31cac99f20f2" alt=""><figcaption></figcaption></figure></div>

## 仕組み

各サイクルは次の流れで進みます：

1. Aikidoは、プロジェクトが実行対象かどうかを確認します。
2. 設定済みブランチの最新コミットを、最後にテストしたベースラインと比較します。
3. 変更が実行のトリガーとなる場合、Aikidoは新しい継続的アセスメントを開始し、関連するコード差分を分析します。

ノイズの多い、または無駄な実行を避けるため、Aikidoはガードレールを適用します：

* 設定した **開始遅延** が満たされるまでトリガーを待ちます。
* 別の継続実行がまだアクティブな間は、新しい実行を開始しません。
* エージェントを起動するには、最低ウォレット残高が必要です。

## 実行が開始されない理由

実行されるはずなのに開始されなかった場合は、次を確認してください：

* このプロジェクトにはまだ完全アセスメントがありません。
* ウォレット残高が下回りました **1,000クレジット**.
* 設定済みブランチで新しいコミットは検出されませんでした。
* 最新のコミットはまだ **開始遅延** ウィンドウ内です。
* 別の継続実行がまだ進行中です。


---

# 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/continuous-pentesting.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.
