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

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

A **データ露出監査** AikidoのコードベースDSPMです。これは内部で動作します [AI Code Analysis](/docs/docs-ja/aikdo/ai-code-analysis.md) データベースに接続せずに、リポジトリを解析して機密データの扱われ方や、どこで露出する可能性があるかを見つけます。

### ユースケース

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

### 前提条件

* Manage Pentests と AI Code Analysis の [権限](/docs/docs-ja/hajimeni/automated-user-management/setting-roles-and-permissions.md)
* 少なくとも1つのリポジトリが接続されています。
* ウォレットには見積もり費用に対する十分なクレジットがあります。詳細は [ウォレットとクレジット](/docs/docs-ja/miscellaneous-info/wallet-and-credits.md)

### Data Exposure Audit を実行する

{% stepper %}
{% step %}

#### AI Code Analysis を開く

Aikido で、次へ移動します： [**AI Code Analysis**](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共有まで、対象範囲のデータ処理カテゴリの完全な一覧は、をご覧ください [Data Exposure Audit が見つけるもの](/docs/docs-ja/aikdo/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/aikdo/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.
