> 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/gitlab-container-registry.md).

# GitLab Container Registry

Aikido と（クラウド）GitLab Container Registry を連携し、既知の脆弱性についてコンテナをスキャンできるようになりました。

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

**ステップ 1:** GitLab アカウントにログインして、いくつかのデータを取得します。

ユーザー名を取得する必要があります（スクリーンショット参照）

![Web アプリケーションで、名前、ユーザー名、ステータスオプションを表示するユーザープロフィールのドロップダウン。](/files/11eda05f49e5e375c832defb54c1e13e3707a496)

**ステップ 2:** Container Registry があるグループ ID をコピーします（スクリーンショット参照）

![グループ名、プライバシー状態、プラン種別、グループ ID を表示する組織プロフィール。](/files/66258b2216a8a90a9114f5e4abce9ce00785c2af)

**ステップ 3:** 個人設定の［アクセス トークン］で、Aikido 用の新しいトークンを作成してください（直接リンク： <https://gitlab.com/-/user_settings/personal_access_tokens>).

含めるスコープは次のとおりです：read\_api、read\_registry

スクリーンショットを参照：

![選択可能な API アクセス スコープを備えた、新しい個人用アクセストークンを作成するためのフォーム。](/files/42352d80950c44fbd382fc7d9d6f7e5755108981)

**ステップ 4:** 収集したデータを Aikido に入力します（直接リンク: <https://app.aikido.dev/settings/container-image-registry/add/gitlab>)

![GitLab Container Registry の接続フォーム：ユーザー名、アクセストークン、グループ ID を入力します。](/files/b22d8402c0b72f0dda992cbf5c2257caba042315)

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

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

**ステップ 7:** レジストリ横のアクションメニューで「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/gitlab-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.
