> 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 にリンクされていることを確認してください。まだ行っていない場合は、Aikido の[ クラウド概要](https://app.aikido.dev/clouds) に移動し、「クラウドに接続」をクリックして、設定手順に従ってください。詳細は [この記事](https://help.aikido.dev/en/articles/7831585-connecting-your-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/en/articles/8727967-container-scanning-for-gcp-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.
