> 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」スコープが必要です。

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

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

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

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

**ステップ 3:** Aikido に戻り、設定へ移動して、 [コンテナ](https://app.aikido.dev/settings/container-image-registry)。「Connect registry」をクリックして

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

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

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

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

**ステップ 6：** レジストリ横のアクション メニューで「Scan containers in registry」をクリックして開始します。結果は 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.
