| name | cis-azure-foundations-8.1.4.1 |
| description | Ensure That Microsoft Defender for Containers Is Set To 'On' |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","security","defender","containers"] |
| cis_id | 8.1.4.1 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
8.1.4.1 Ensure That Microsoft Defender for Containers Is Set To 'On' (Automated)
Description
Microsoft Defender for Containers helps improve, monitor, and maintain the security of containerized assets--including Kubernetes clusters, nodes, workloads, container registries, and images--across multi-cloud and on-premises environments. By default, when enabling the plan through the Azure Portal, Microsoft Defender for Containers automatically configures: Agentless scanning for machines, Defender sensor for runtime protection, Azure Policy for enforcing security best practices, K8S API access for monitoring and threat detection, and Registry access for vulnerability assessment.
Rationale
Enabling Microsoft Defender for Containers enhances defense-in-depth by providing advanced threat detection, vulnerability assessment, and security monitoring for containerized environments, leveraging insights from the Microsoft Security Response Center (MSRC).
Impact
Microsoft Defender for Containers incurs a charge per vCore. Refer to https://azure.microsoft.com/en-us/pricing/details/defender-for-cloud/ to estimate potential costs.
Audit Procedure
From Azure Portal:
- Go to
Microsoft Defender for Cloud.
- Under
Management, click Environment settings.
- Click the name of a subscription.
- Under
Settings, click Defender plans.
- Under
Cloud Workload Protection (CWP), in the row for Containers, ensure that the Status is set to On and Monitoring coverage displays Full.
- Repeat steps 1-5 for each subscription.
From Azure CLI:
az security pricing show --name "Containers" --query [pricingTier,extensions[*].[name,isEnabled]]
Ensure that the command returns Standard, and that each of the extensions returns True.
From Azure Policy:
- Policy ID:
1c988dd6-ade4-430f-a608-2a3e5b0a6d38 - Name: 'Microsoft Defender for Containers should be enabled'
Expected Result
The pricing tier for Containers should be Standard with all extensions enabled.
Remediation
From Azure Portal: