> 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/cloud-provider-registries/image-scanning-for-azure-container-registry.md).

# Azure Container Registry

Azure Container Registry を Aikido に統合して、既知の脆弱性についてコンテナーをスキャンできます。

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

**ステップ 1:** Azure アカウントにログインし、リンクしたいコンテナー レジストリに移動します。レジストリ名（ログイン サーバー）、シークレット トークン、トークンのユーザー名を取得する必要があります。レジストリ名は、レジストリの詳細ページの上部で確認できます（スクリーンショットを参照）

![Azure のリソース詳細: グループ、場所、ログイン サーバー、作成日が表示されています。](/files/a123eb48625f047ae04ea3fee7f290fba3191499)

**ステップ 2:** コンテナーを取得できるシークレット トークンを作成するには、左側メニューを下にスクロールして「Repository permission」セクションに移動し、「Tokens」をクリックします。トークン名を「aikido」にし、新しいスコープ マップを作成します。Aikido には、イメージを取得するための「content/read」スコープと、レジストリ内で利用可能なイメージやタグを一覧表示するための「metadata/read」スコープが必要です。

レポジトリ欄で「\*」ワイルドカード文字を使用することで、レジストリ内のすべてのイメージへのアクセスを Aikido に付与できます。あるいは、各イメージごとに権限を追加することで、特定のイメージのみに Aikido へのアクセスを付与することもできます。

![カスタム スコープ マップと読み取り専用のレポジトリ権限でトークンを作成しています。](/files/52576cde77b3c87f560a022a5fa0ad0fd602610f)

トークンを作成した後、もう一度クリックしてパスワードを生成する必要があります。画面は以下のようになります:

![新しいパスワードと Docker ログイン コマンドを安全に保存するよう求めるパスワード生成画面。](/files/94180482829196bb4c377e892c742fadd088ac07)

**ステップ 3:** Aikido に戻って、設定へ進み、次に [コンテナ](https://app.aikido.dev/settings/container-image-registry). 「レジストリを接続」をクリックし、

Azure Container Registry。前の手順で取得したデータを入力します。ユーザー名はトークン名です。

![プライベート Azure コンテナー レジストリにアクセスするためのログイン フォーム。](/files/0f5cec6d2a7190d3cf0d9e8280cab11c2e65fcee)

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

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

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

### &#x20;<a href="#set-up-azure-container-registry-scanning" id="set-up-azure-container-registry-scanning"></a>


---

# 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/cloud-provider-registries/image-scanning-for-azure-container-registry.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.
