> 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ルールを使うと、自然言語でクラウドの設定ミスルールを定義でき、クラウド資産検索に基づいてフィードに新しいIssueを生成できます。これらのIssueは、フィード内の他のIssueと同じ機能に従います。例えば、 **無視、スヌーズ、アラート通知**, **タスク作成**, **など**

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

* 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. ルールを作成するために必要な詳細を入力します**

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

<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ルールは、作成後および各クラウドスキャン時に評価されます。
* これらのルールは **クラウド設定ミスのIssue**を生成し、標準のIssue機能すべて（重大度の調整、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.
