> 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.
