> 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/kdosukyan/scanning-practices/custom-vulnerabilities.md).

# カスタムCVE脆弱性

Aikidoでは、ワークスペース管理者が社内またはプライベートのパッケージ向けにカスタムCVEを定義できます。スキャンで一致するパッケージとバージョンが見つかると、AikidoはオープンソースのIssueを作成し、 `CUSTOM-CVE-{id}` 識別子。

{% hint style="info" %}
この機能はワークスペース単位で有効化する必要があります。有効化するにはお問い合わせください。
{% endhint %}

#### ユースケース

* 社内またはプライベートのパッケージ: 公開CVEデータベースにはないものの、既知のセキュリティ欠陥があるライブラリを管理している場合。
* 公開CVEが存在しない: 脆弱性は社内で見つかったものの、CVEは割り当てられませんでした。
* ポリシーに基づくブロック: 社内パッケージに対して、すべてのリポジトリとコンテナで「X未満のバージョンは不可」を強制したい場合。

#### カスタムCVEを追加

**手順 1。** 移動先 [**CVEデータベース**](https://app.aikido.dev/reports/cve) **レポート** → **カスタムCVEを管理**<br>

<figure><img src="/files/0fc4fb3c1e43412bcbeaefc0050e5602b684b171" alt=""><figcaption></figcaption></figure>

**手順 2。** クリック **カスタムCVEを追加**.

**手順 3。** 以下の項目を入力してください:

* **パッケージ名**
  * スキャンで検出された正確なパッケージ名を使用してください。
* **影響を受けるバージョン**
  * 次のいずれかの一致方法を使用してください:
    * **フラグ付けするバージョン:** 最初の脆弱なバージョン、最後の脆弱なバージョン、およびパッチまたは修正バージョンを定義します。
    * **必要最小バージョン:** 必要最小バージョン未満の任意のバージョンをフラグ付けします。
* **短い説明、TL;DR、スコア**
  * 次の中から優先度を設定してください `1` を次に設定します: `100`。これによりIssueの深刻度が設定されます。

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

**手順 4。** クリック **変更を保存**.

Aikidoは `CUSTOM-CVE-{id}` を割り当て、次回のスキャンからそれに一致させ始めます。

<details>

<summary><strong>例</strong></summary>

パッケージ `acme-auth-lib` は次のバージョンから脆弱です `1.0.0` から `1.5.2`.

バージョン `1.6.0` に修正が含まれています。

カスタムCVEは次のように作成してください:

* **パッケージ名:** `acme-auth-lib`
* **フラグ付けするバージョン:** `1.0.0` → `1.5.2`
* **パッチバージョン:** `1.6.0`
* **スコア:** `78` これは高い深刻度に対応します

脆弱なバージョンを使用しているリポジトリには、Issueが作成されます。

次にアップグレードすると `1.6.0` 次回のスキャンでIssueは自動的に閉じられます。

</details>

#### トラブルシューティング

次の場合、カスタムCVEのIssueが表示されないことがあります:

* パッケージ名が完全一致せず、大文字・小文字が区別される
* インストールされているバージョンが定義された範囲外である
* パッケージがdev依存関係で、dev依存関係のスキャンがオフになっている
* この機能がワークスペースで有効になっていない

影響を受けるパッケージがdev依存関係の場合は、まずdev依存関係のCVEスキャンを有効にしてください。参照: [dev依存関係のCVEをスキャンする](/docs/docs-ja/kdosukyan/scanning-practices/scanning-dev-dependencies-for-cves.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/kdosukyan/scanning-practices/custom-vulnerabilities.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.
