๐ก๏ธ Azure Subscription Microsoft Defender For Containers is not set to On๐ข
- Contextual name: ๐ก๏ธ Microsoft Defender For Containers is not set to On๐ข
- ID:
/ce/ca/azure/subscription/microsoft-defender-for-containers - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicโ
- ๐ง prod.logic.yaml๐ข
Similar Policiesโ
- Cloud Conformity: Enable Microsoft Defender for Cloud for Azure Containers
- Internal:
dec-x-9f7d853f
Similar Internal Rulesโ
| Rule | Policies | Flags |
|---|---|---|
| โ๏ธ dec-x-9f7d853f | 1 |
Descriptionโ
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 the following components:
- Agentless scanning for machines
- Defender sensor for runtime protection
- Azure Policy for enforcing security best practices
- K8S API access for monitoring and threat detection
- Registry access for vulnerability assessment
Note: Microsoft Defender for Container Registries ('ContainerRegistry') is deprecated and has been replaced by Microsoft Defender for Containers ('Containers').
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).
... see more
Remediationโ
Remediationโ
From Azure Portalโ
- Go to
Microsoft Defender for Cloud.- Under
Management, selectEnvironment Settings.- Click on the subscription name.
- Under
Settings, clickDefender plans.- Under
Cloud Workload Protection (CWP), in the row forContainers, clickOnin theStatuscolumn.- If
Monitoring coveragedisplaysPartial, clickSettingsunderPartial.- Set the status of each of the components to
On.- Click
Continue.- Click
Save.- Repeat steps 1-9 for each subscription.
From Azure CLIโ
Note: Microsoft Defender for Container Registries ('ContainerRegistry') is deprecated and has been replaced by Microsoft Defender for Containers ('Containers').
Run the below command to enable the Microsoft Defender for Containers plan and its components:
az security pricing create -n 'Containers' --tier 'standard' --extensions name=ContainerRegistriesVulnerabilityAssessments isEnabled=True --extensions name=AgentlessDiscoveryForKubernetes isEnabled=True --extensions name=AgentlessVmScanning isEnabled=True --extensions name=ContainerSensor isEnabled=True
... [see more](remediation.md)