> 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 - バックアップ」にマッピングしたい場合は、 `Backup` タグを追加します。サポートが必要な場合、またはどのタグを使うべきか不明な場合は、お気軽にお問い合わせください。

<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.
