Description
Turning on Microsoft Defender for Containers enables threat detection for Container Registries including Kubernetes, providing threat intelligence, anomaly detection, and behavior analytics in the Microsoft Defender for Cloud. The following services will be enabled for container instances:
- Defender agent in Azure
- Azure Policy for Kubernetes
- Agentless discovery for Kubernetes
- Agentless container vulnerability assessment
Rationaleβ
Enabling Microsoft Defender for Container Registries allows for greater defense-in-depth, with threat detection provided by the Microsoft Security Response Center (MSRC).
Impactβ
Turning on Microsoft Defender for Containers incurs an additional cost per resource.
Auditβ
From Azure Portalβ
- Go to
Microsoft Defender for Cloud
. - Under
Management
, selectEnvironment Settings
. - Click on the subscription name.
- Select
Defender plans
. - Ensure the
Status
forContainers
is set toOn
.
From Azure CLIβ
Ensure the output of the commands below indicates Standard
pricing.
For legacy Defender for Container Registries instances:
az security pricing show --name "ContainerRegistry" --query pricingTier
For new Defender for Containers instances:
az security pricing show --name "Containers" --query pricingTier
From PowerShellβ
Ensure the output of the commands below indicates Standard
pricing.
For legacy Defender for Container Registries instances:
Get-AzSecurityPricing -Name 'ContainerRegistry' | Select-Object Name,PricingTier
For new Defender for Containers instances:
Get-AzSecurityPricing -Name 'Containers' | Select-Object Name,PricingTier
From Azure Policyβ
If referencing a digital copy of this Benchmark, clicking a Policy ID will open a link to the associated Policy definition in Azure.
- Policy ID: 1c988dd6-ade4-430f-a608-2a3e5b0a6d38 - Name:
Microsoft Defender for Containers should be enabled
Default Valueβ
By default, Microsoft Defender for Containers is off
.
Referencesβ
- https://docs.microsoft.com/en-us/azure/security-center/security-center-detection-capabilities
- https://docs.microsoft.com/en-us/rest/api/securitycenter/pricings/list
- https://docs.microsoft.com/en-us/rest/api/securitycenter/pricings/update
- https://docs.microsoft.com/en-us/powershell/module/az.security/get-azsecuritypricing
- https://learn.microsoft.com/en-us/security/benchmark/azure/mcsb-logging-threat-detection#lt-1-enable-threat-detection-capabilities
- https://docs.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-introduction?tabs=defender-for-container-arch-aks