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

# GitHub Container Registry

Aikido と GitHub Container Registry を連携して、既知の脆弱性についてコンテナをスキャンできます。

{% hint style="info" %}
接続する際は、 `ソースリポジトリからアクセス権を継承` 設定が **有効です** スキャンしたいすべてのコンテナで有効になっていることを確認してください。そうしないと、Aikido はそれらを読み取ることができません。
{% endhint %}

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

**ステップ 1:** データを取得するために、GitHub アカウントにログインしてください。

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

![アバター、ユーザー名、フォロワー、プロフィール編集オプションを含む GitHub ユーザープロフィールの概要。](/files/7c104f76c0175ae871fb2f0a2fc0413e6139a239)

**ステップ 2:** コンテナレジストリが存在する組織名をコピーしてください。これは github の URL で確認できます（スクリーンショット参照）

![組織リンク入力用に "https://github.com/Organization" を表示する URL 入力フィールド。](/files/63014437ecb9db2cf47df1883dd42a5974c55263)

**ステップ 3:** プロフィール設定の「開発者設定」→「Personal access tokens」→「Tokens (classic)」で、Aikido 用の新しいクラシックトークンを生成します

（直接リンク： <https://github.com/settings/tokens>).

スコープには以下が含まれます： `read:packages`

![GitHub トークンの作成：有効期限なし、read package アクセススコープを選択済み。](/files/7ee086b0abecfe4c2df1889f15d5ebcec510d057)

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

![GitHub コンテナイメージレジストリに接続して認証するためのフォーム。](/files/e5b13e4607598f73f6dfeb31dee67f0507c3f2cd)

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

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

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

### &#x20;<a href="#set-up-github-container-registry-scanning" id="set-up-github-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/standalone-registries/github-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.
