Microsoft Defender for Cloud
Cloud and workloads

Build Cloud Security Explorer queries for container vulnerabilities

In brief

The article now explains that it covers queries for vulnerable registry images and running Kubernetes workloads, with streamlined query descriptions and result-review steps. Its metadata date was also updated.

What Defender admins need to know

Administrators can more easily follow the guidance to identify and review vulnerable container images; no configuration changes are required.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Build Cloud Security Explorer queries for container vulnerabilities

Use Cloud Security Explorer to identify vulnerabilities in registry images and running containers. This article shows you how to build queries that find vulnerable container images in registries and in running Kubernetes workloads, and how to review the results.

For an introduction to Cloud Security Explorer, see Build queries with Cloud Security Explorer.

Create a query to identify vulnerabilities in registry images

Use this query to findFind registry container images stored in registries that have known vulnerabilities.

  1. Sign in to the Azure portal.

  2. Select View details > for a container image.

  3. In the Result details pane,, review vulnerability information such asthe affected packages and severity.

  4. Select Open the vulnerability page to review the vulnerabilityfor more details.

Create a query to identify vulnerabilities in running containers

Use this query to find container images that are currently used by workloadsFind running containers in Kubernetes clusters andthat have known vulnerabilities.

  1. Sign in to the Azure portal.

  2. Select View details > for a container.

  3. In the Result details pane,, review vulnerability information such asthe affected images, severity, and related resources.

  4. Select Open the vulnerability page to review the vulnerabilityfor more details.

Related content