> 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/only-scan-running-container-images.md).

# 実行中のコンテナイメージのみをスキャン

Aikido は、接続済みのクラウド環境や Kubernetes 環境で実行中だと見つからないコンテナイメージを自動的に無効化することで、ノイズを減らします。これにより、古くて使われていないイメージをスキャンして検出結果を得る必要がなくなります。

#### **ユースケース**

* 古いビルドでいっぱいのレジストリ: 古い機能ブランチのイメージ、置き換えられたリリース、放置された CI アーティファクトが、時間とともにレジストリに積み上がっていきます。どれも今では何も依存していないのに、それぞれが検出結果を生成し続けます。
* 関係のないリスクによるアラート疲れ: 未解決の検出結果の大半が誰も実行していないイメージ由来だと、本当に重要なものを見つけて優先付けするのが難しくなります。
* 移行とレジストリの整理: レジストリ間を移動したりインフラを統合したりするチームは、古いコピーを残しがちです。これにより、アクティブな問題件数が不要に増えるのを防げます。

#### 仕組み

* Aikido は、各イメージを接続済みの実行環境およびクラウド環境と照合します。
* 実行中のデプロイに照合できないイメージは無効化されます。新しい問題は生成されなくなりますが、スキャン履歴とともに Aikido 上では引き続き表示されます。
* 後で Aikido がそのイメージの再実行を検出した場合、自動的に再有効化されます。
* 手動で有効化または無効化したイメージには影響しません。この設定は、あなた自身が設定した状態を上書きしません。

#### 前提条件

* この設定を有効にする前に、クラウド環境と Kubernetes 環境を接続してください。接続がないと、Aikido にはイメージを照合するための実行時データがなく、どのイメージを安全に無効化できるか判断できません。

{% hint style="info" %}
AWS を利用しており、2026年7月13日より前にアカウントを接続した場合は、さらに [CloudFormation スタックも更新してください](https://help.aikido.dev/cloud-scanning/connect-your-cloud/aws/connect-aws-account-to-aikido/update-aws-cloudformation-stack))
{% endhint %}

#### 有効化 **実行中のイメージのみスキャン**

* 移動先： [**設定** > **コンテナ**](https://app.aikido.dev/settings/container-image-registry)
* 設定したいレジストリの三点リーダーをクリックし、「**レジストリ設定を編集**'
* で **レジストリ設定** モーダルで、オンに切り替え **実行中のイメージのみスキャン**
* をクリック **保存**

<figure><img src="/files/929a871831a56af467ec6abcd70ebaa4e5f3eee5" alt=""><figcaption></figcaption></figure>

#### **注意事項**

* 同じイメージが Kubernetes スキャンとレジストリ検出の両方で見つかった場合は、Kubernetes が報告したバージョンが優先されます。レジストリで検出されたバージョンも Aikido 上には残りますが、重複スキャンを避けるため自動的に無効化されます。別個の無効化されたコンテナとして表示される場合があります。
* これを有効にするとレジストリ内の実行中イメージの大半が無効化される場合（Aikido は 75% のしきい値を使用します）、まず警告が表示されます。これは通常、クラウド環境または Kubernetes 環境がまだ完全には接続されていないことを意味します。正確な結果を得るために接続するか、それでも有効にしてください。


---

# 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/only-scan-running-container-images.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.
