Vulnerability management for containers - Microsoft Defender for Cloud (original) (raw)

Microsoft Defender for Cloud uses Microsoft Defender Vulnerability Management (MDVM) to identify vulnerabilities in registry images and in container images used by running containers in supported Kubernetes environments. Findings are surfaced as security recommendations in Microsoft Defender for Cloud.

Note

Microsoft Defender for Cloud is transitioning from grouped container vulnerability recommendations to individual recommendations. During the transition, grouped and individual recommendations might appear side by side in the portal. Learn more about transitioning from grouped to individual recommendations.

Container vulnerability assessment is available through Defender for Containers and, for supported scenarios, Defender CSPM. When Defender CSPM is enabled, container vulnerability recommendations can include contextual risk signals and risk-based prioritization.

Registry vulnerability assessment

Registry vulnerability assessment identifies vulnerabilities in container images stored in supported registries before deployment.

Supported registries include:

Registry vulnerability assessment requires Registry access to be enabled.

Registry scanning support

Registry scanning supports:

For the full list of supported operating systems, package types, registries, and clouds, see the Defender for Containers support matrix.

Runtime scanning for running containers

Runtime container vulnerability assessment evaluates container images used by running containers in supported Kubernetes environments.

There are two runtime scenarios:

Runtime assessment can include:

Although runtime assessment can be registry-agnostic, connecting supported registries helps preserve image and repository context for remediation workflows.

Note

Runtime vulnerability assessment scans container images that are running in the cluster. It doesn't scan the container runtime layer.

Runtime vulnerability assessment isn't supported for container images running on Windows nodes or nodes that use AKS ephemeral OS disks. Autoscale-configured AKS clusters might provide partial or no results if any cluster nodes are down at the time of scan.

Scanning behavior and timing

Scanning and workload discovery are asynchronous processes.

For registry vulnerability assessment:

For runtime vulnerability assessment:

Because inventory discovery and vulnerability analysis run on separate cycles, it can take time for newly deployed or updated images to be fully reflected in recommendations.

Deleted images

When an image is deleted from Azure Container Registry, ACR notifies Defender for Cloud. Vulnerability assessment findings for deleted images are usually removed within one hour. In rare cases, Defender for Cloud might not receive the deletion notification immediately, and removal of associated vulnerability findings might take up to three days.

Deleting only a tag might not delete the underlying image manifest. To learn more about deleting images from ACR, see Delete container images in Azure Container Registry.