> 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/kuraudosukyan/custom-cspm-rules.md).

# カスタムCSPMルール

AikidoのカスタムCSPMルールでは、自然言語でクラウドの設定ミスに関するルールを定義でき、クラウドアセット検索に基づいてフィードに新しい問題を生成できます。これらの問題は、フィード内の他の問題と同じ機能に従います。例： **無視、スヌーズ、アラート通知**, **タスク作成**, **など**

### **ユースケース**

* Aikidoの標準搭載クラウドチェックを拡張します。
* データ保管地域やタグ付けポリシーなど、組織固有の要件。
* ゼロデイのクラウド設定ミスに対応します。

### **カスタムCSPMルールを作成**

**手順 1.** 次へ移動してください [**クラウドアセット**](https://app.aikido.dev/clouds/assets) Aikido内のページ。

**手順 2.** をクリックします **カスタム CSPM ルール**

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-651915346a07e47be1d43d907bbf62f7338569f2%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

**手順 3.** クリック **カスタムルールを作成** カスタムルールページ上で。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-ecf8a9f74754d00292b179ed3151f028f7771a42%2Fimage.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

**ステップ4. ルール作成に必要な詳細を入力します**

* 次を追加します **関連検索クエリ** 問題を発生させる条件を定義するための（例： `EU圏外のバケット`).
* 問題タイトル
* 要するに
* 修正方法
* スコア（重大度に影響します）

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-16a5bf685d3dc91fbbcaad139b9124a9155b622f%2Fcustom-rule-buckets-eu.png?alt=media" alt="" width="563"><figcaption><p>カスタムクラウドルールの例</p></figcaption></figure>

**ステップ5**。ルールがページに追加されます。アクションのドロップダウンメニューをクリックすれば、いつでも編集または削除できます。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-4778472a6b17b542fa320f87d4d81ea6d8ec5d0e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

**手順 6。** 一致する結果をフィードに表示するには、新しいクラウドスキャンを手動で実行します。

### **重要事項**

* カスタムCSPMルールは、作成後および各クラウドスキャン時に評価されます。
* これらのルールは **クラウド設定ミスの問題**を生成します。これらは、すべての標準的な問題機能（重大度調整、Slack連携、タスク作成など）に対応しています。
* カスタムCSPMルールは **接続されているすべてのクラウドアカウントにわたって**.

### コンプライアンスレポートへのマッピング

ルールを作成または編集する際にコンプライアンスタグを追加することで、カスタムCSPMルールをコンプライアンスレポートにマッピングできます。Aikidoはこれらのタグを使用して、サポートされているベンチマークの関連するすべてのコンプライアンスセクションにルールを自動的に含めます。カスタムCSPMルールは、タグを追加するとすぐにコンプライアンスレポートに表示され、他のクラウドルール／チェックと同じように動作します。

たとえば、ルールを「ISO 27001:2022, A.8.13 - Backups」にマッピングしたい場合は、 `バックアップ` タグを追加します。サポートが必要な場合や、どのタグを使用すべきか不明な場合は、お気軽にお問い合わせください。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-d9c575ce618e1ad8bc242b1b0f9bcc38e7ce1f43%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# 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/kuraudosukyan/custom-cspm-rules.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.
