> 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="/files/15af27d5b9c4ba7f325235237d7b0d2149fc8475" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/fd5eca3244dbfd7749f7a492b9b3948dd57e2c78" alt="" width="563"><figcaption></figcaption></figure>

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

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

<figure><img src="/files/7e45d4b0e6e4aa53890b600cd1244c6fe4bf5f5e" alt="" width="563"><figcaption><p>カスタムクラウドルールの例</p></figcaption></figure>

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

<figure><img src="/files/89699b982e785994215570ba762c9baae252c6df" alt=""><figcaption></figcaption></figure>

**ステップ 6.** 手動で新しいクラウドスキャンを実行すると、該当する結果がフィードに表示されます。

### **重要な注意事項**

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

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

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

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

<figure><img src="/files/df1dea91f7c6afca2ea13e8d6390603bbc154c75" 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.
