> 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。** 以下の項目を入力してください:

* **パッケージ名**
  * スキャンで検出されたとおりの正確なパッケージ名を使用してください。
* **影響を受けるバージョン**
  * 次のいずれかの一致方法を使用してください:
    * **フラグ対象バージョン:** 最初の脆弱なバージョン、最後の脆弱なバージョン、およびパッチまたは修正版のバージョンを定義します。
    * **最小必須バージョン:** 必要最小バージョン未満のすべてのバージョンをフラグします。
* **短い説明、要約、スコア**
  * 次の範囲から優先度を設定します `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 スキャンを有効にしてください。参照: [CVE のための Dev 依存関係のスキャン](/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.
