> 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/kontenaimjisukyan/standalone-registries/image-scanning-for-sonatype-nexus-repository.md).

# Sonatype Nexus Repository のイメージスキャン

Sonatype Nexus Repository を Aikido に接続して、既知の脆弱性がないかコンテナーをスキャンできます。

この機能を有効にするには、以下の簡単な手順に従ってください：

**ステップ 1**: Sonatype Nexus Repository にログインしてください。インスタンスの URL、レジストリ名、認証情報を取得する必要があります

以下の **インスタンスの URL** Sonatype Nexus Repository にアクセスするために必要な URL です。これには `http(s)://` およびインスタンスのポートが含まれます。例： `https://my-awesome-nexus-repository.com:8081`

以下の **レジストリ名** スキャン対象のイメージがある hosted Docker リポジトリの名前です。これはリポジトリを閲覧すると見つかります。

![リポジトリ名、種類、形式、およびオンライン状態を表示するアセットブラウザーの画面。](/files/05aae4ac80c4611c909b68959d7f75c3212d76ae)

この例では、レジストリ名は *docker-hosted*

以下の **認証情報** ユーザートークン（推奨）またはユーザー認証情報のいずれかを使用できます。

右上隅のプロフィールに移動します

![「サインアウト」ボタンのある管理者プロフィールセクション。](/files/5b0a1e8f15a5d0823a478bfc476c7a0695c877ee)

左側のサイドバーで User token をクリックし、次に「Access user token」ボタンをクリックします

![Sonatype Nexus Repository のトークンを生成またはリセットするためのユーザートークン管理画面。](/files/e73521d827cbe073121ae004e7a8278202b0f116)

認証して、以下を取得します **ユーザートークン名コード** および **ユーザートークンパスコード** モーダルから

![クリップボードへのコピー機能とセキュリティ警告を備えたユーザートークンコード表示。](/files/549579ee7949f00969ab00d5525224d0dea57ac2)

![安全なアクセスのためのクリップボードへコピーするオプション付きユーザートークンパスコード表示。](/files/55bd5946ef799605ce6758e31bc666c3637c8758)

**注意：** Sonatype Nexus Repository でユーザートークンが有効になっていない場合は、ログイン認証情報を使用することもできます。ユーザートークンの方が一般的に安全で、リセットも簡単なので、この方法は推奨しません。

**ステップ2**: 収集したデータを対応するフィールドに入力し、保存をクリックします

![Sonatype Nexus のコンテナーイメージレジストリを接続・設定するためのフォーム。](/files/cf84d025260b5b788036708caa8b6dc50fec1dd9)

**ステップ 3:** Aikido がアクセス可能なすべてのコンテナリポジトリを見つけて一覧表示します。

**ステップ 4:** 検出結果の重複排除をより適切に行うため、リポジトリをコードリポジトリに関連付けることができます。このステップは任意です！

**ステップ 5:** レジストリ横のアクションメニューで「レジストリ内のリポジトリをスキャン」をクリックして開始します。結果はフィードに表示されます！


---

# 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/kontenaimjisukyan/standalone-registries/image-scanning-for-sonatype-nexus-repository.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.
