> 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/what-is-dspm/data-exposure-audit.md).

# データ漏えい監査を実行

A **データ露出監査** AikidoのコードベースDSPMです。内部で実行されます [AIコード分析](/docs/docs-ja/ai-kdo/ai-code-analysis.md) また、データベースに接続することなく、リポジトリを解析して、機密データがどのように扱われ、どこで露出する可能性があるかを把握します。

### ユースケース

* **コード内の機密データをマッピングする**: PII、シークレット、トークン、顧客データがアプリ内をどのように移動するかを確認する
* **公開前に露出を検知する**: ソースから、安全でないログ記録、過度に広範なAPI、第三者への共有を見つける
* **漏えいの原因を修正する**: データベースに接続せずに、コード内で証拠と修正案を得る
* **プライバシーおよびコンプライアンスレビューを支援する**: データ処理の抜け漏れを具体的なコードパスに結び付ける

### 前提条件

* あなたは「Manage Pentests」と「AI Code Analysis」の [権限が必要であり、アセスメントに対する保留中のクレジットも精算されている必要があります。開始から 6 か月以内のアセスメントの発見事項を再テストできます。](/docs/docs-ja/hajimeni/automated-user-management/setting-roles-and-permissions.md)
* 少なくとも1つのリポジトリが接続されています。
* ウォレットには、見積もり金額に十分なクレジットがあります。参照 [Walletとクレジット](/docs/docs-ja/miscellaneous-info/wallet-and-credits.md)

### データ露出監査を実行する

{% stepper %}
{% step %}

#### AIコード分析を開く

Aikido で次へ移動します： [**AIコード分析**](https://app.aikido.dev/agentic-review)、次にクリックします **監査を作成**.
{% endstep %}

{% step %}

#### データ露出監査の種類を選択

<figure><img src="/files/4c49f065c7e579ba76bfae918875176a4abafe34" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### リポジトリを選択する

モノレポの場合は、 **除外パス** を選択したリポジトリの横でクリックして、監査対象のアプリケーションの一部ではないディレクトリを削除します。たとえば、関係のないアプリケーションやサービスを除外すると、Aikidoが機密データを扱うコードに集中できます。

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

{% hint style="info" %}
関連のないアプリケーションやサービスを除外してください。ドキュメント、README、その他の非コード資産は除外しないでください。これらのファイルは、データフロー、統合、機密データの扱いに関する有用な文脈を提供できます。
{% endhint %}

また、 **追加メモ**を追加することもできます。エージェントはすでにソースから多くの文脈を取得し、アプリケーションをよく理解しているため、通常はそれらがなくても監査は問題なく実行されます。コード内に関連する文脈が不足している場合にメモを使用してください。たとえば、

* 既知のギャップ
* 意図された特異動作
* リポジトリにはないが、監査に重要な本番環境の設定

その文脈により、エージェントは検出結果をより正確にトリアージし、優先順位付けできます。

<figure><img src="/files/acd887c5cad885d46e09afed0cb4e0120f3dddc2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### 料金を確認して開始

のクレジット見積もりを確認し **料金** ステップで。必要なら **クレジットを追加** でチャージし、その後 **監査を開始**.
{% endstep %}
{% endstepper %}

Aikidoは評価の詳細ページを開くので、進行状況を追跡し、結果が届き次第確認できます。

<figure><img src="/files/4c76c89310b2d85ec1ad8f04e456147bf3d3f3bd" alt=""><figcaption></figcaption></figure>

### 検出内容

各検出結果には、要約、根本原因、修復方法、およびコードベースの **証拠**が含まれます。平文保存や安全でないログ出力から、過度に広いAPIやAI共有まで、対象範囲内のデータ処理クラスの完全な一覧については、参照してください [データ露出監査で検出されるもの](/docs/docs-ja/ai-kdo/what-is-dspm/what-data-exposure-audit-finds.md).


---

# 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/what-is-dspm/data-exposure-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.
