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

その **レジストリ名** は、イメージをスキャンすべきホスト済み Docker リポジトリの名前です。これはリポジトリの閲覧時に確認できます。

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

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

その **認証情報** は、ユーザートークン（推奨）またはユーザー認証情報のいずれかです。

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

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

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

![Sonatype Nexus Repository のトークンを生成またはリセットするための User Token 管理インターフェース。](/files/e73521d827cbe073121ae004e7a8278202b0f116)

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

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

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

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

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

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

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

**ステップ 4:** 調査結果の重複排除をより正確に行うために、リポジトリをコードリポジトリにリンクできます。この手順は任意です！

**ステップ 5：** レジストリ横のアクションメニューで「scan repos in registry」をクリックして開始してください。結果は Feed に表示されます！


---

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