> 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/gcp-scanner-for-gcp-artifact-registry.md).

# GCP Artifact Registry 用 GCPスキャナー

**目次：**

* [セットアップ](#setup)
  * [ステップ1：AikidoとのGCP連携を設定する](#step-1-set-up-aikido-integration-with-gcp)
  * [ステップ2：GCPでArtifact Registryのスキャンを有効にする](#step-2-enable-artifact-registry-scanning-in-gcp)
  * [ステップ3：イメージの最新バージョンをArtifact Registryにプッシュする](#step-3-push-the-latest-version-of-your-images-to-artifact-registry)
  * [ステップ4：Aikidoでスキャンを開始して結果を処理する](#step-4-start-a-scan-in-aikido-to-process-the-results)
  * [ステップ5：イメージをリンクする](#step-5-link-images)

## GCP Artifact Registry 用 GCPスキャナー

Google Cloud Platform（GCP）は、Artifact Registryを通じてコンテナイメージを効率的に保存する方法を提供します。Aikidoの力をGCPのArtifact Registryと組み合わせることで、堅牢なセキュリティフレームワークが実現します。Artifact Registryに保存されたイメージに対してコンテナ解析を有効にする手順を見ていきましょう。

> 注：非推奨の「Container Registry」を使用している場合は、チャットまたは <support@aikido.dev>までサポートボタンからお問い合わせください。Aikidoではこのレジストリに対するオプションサポートを提供しています。

### セットアップ <a href="#setup" id="setup"></a>

Aikidoは、GCP Container Analysisで報告された検出結果を利用し、皆さんがよくご存じの同じ重複排除およびノイズ除去エンジンで処理します。この新機能の詳細と有効化の方法を見ていきましょう。

#### ステップ1：AikidoとのGCP連携を設定する <a href="#step-1-set-up-aikido-integration-with-gcp" id="step-1-set-up-aikido-integration-with-gcp"></a>

始める前に、GCPのクラウド環境がAikidoにリンクされていることを確認してください。まだの場合は、[ クラウド概要](https://app.aikido.dev/clouds) のAikidoで「クラウドを接続」をクリックし、手順に従って設定してください。詳細は [この記事](https://help.aikido.dev/cloud-scanning/connect-your-cloud/gcp/connect-gcp-account-to-aikido).

#### ステップ2：GCPでArtifact Registryのスキャンを有効にする <a href="#step-2-enable-artifact-registry-scanning-in-gcp" id="step-2-enable-artifact-registry-scanning-in-gcp"></a>

をご覧ください。GCP環境を接続したら、 [Artifact Registry](https://console.cloud.google.com/artifacts) サービスに移動します。左側の「設定」をクリックすると、コンテナイメージの脆弱性スキャンを有効にできます。

![コンテナのセキュリティ問題のスキャンを有効にするオプションを備えた脆弱性スキャン設定。](/files/73c2d3c0e98a85e1d1da2d190e2583bba005c785)

#### ステップ3：イメージの最新バージョンをArtifact Registryにプッシュする <a href="#step-3-push-the-latest-version-of-your-images-to-artifact-registry" id="step-3-push-the-latest-version-of-your-images-to-artifact-registry"></a>

GCPは、新たにプッシュされたイメージのみを脆弱性スキャンします。そのため、イメージの解析を開始するには、イメージの最新バージョンを再度Artifact Registryにプッシュする必要があります。

#### ステップ4：Aikidoでスキャンを開始して結果を処理する <a href="#step-4-start-a-scan-in-aikido-to-process-the-results" id="step-4-start-a-scan-in-aikido-to-process-the-results"></a>

GCPでスキャナーを有効にしたら、Aikidoに戻ってGCPのクラウド環境のスキャンを開始できます。

#### ステップ5：イメージをリンクする <a href="#step-5-link-images" id="step-5-link-images"></a>

最後のステップは、クラウドイメージをコードリポジトリにリンクすることです。前のステップでのスキャン中に、AikidoはGCPのArtifact Registryでホストしているすべてのリポジトリを探します。クラウド詳細ページの「Images」タブに移動し、イメージをソースコードがホストされているコードリポジトリにリンクしてください。

![「Images」タブが強調表示され、選択されているナビゲーションメニュー。](/files/bda08b64698737a793d5a3824cf950c3b9aac10d)

クラウドイメージがコードリポジトリにリンクされると、AikidoはContainer Analysisからの検出結果を評価してスコア付けし、それらを関連するクラウド環境およびコードリポジトリにリンクします。

Aikidoは、GCPのContainer Registryでホストされているコンテナのスキャンもサポートしています。手順は [こちら](https://help.aikido.dev/container-image-scanning/cloud-provider-registries/image-scanning-for-gcp-legacy-container-registry).

***


---

# 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/gcp-scanner-for-gcp-artifact-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.
