π 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
- Located in: π Azure Subscription
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-9f7d853f
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-9f7d853f | 1 |
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
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.... see more
Remediationβ
Remediationβ
From Azure Portalβ
- Go to
Microsoft Defender for Cloud
.- Under
Management
, selectEnvironment Settings
.- Click on the subscription name.
- Select
Defender plans
.- Set
Status
toOn
forContainers
.- Click
Save
.From Azure CLIβ
Note:
ContainerRegistry
has been deprecated and is replaced byContainers
.Use the below command to enable
Standard
pricing tier forContainers
:az security pricing create -n 'Containers' --tier 'standard'
From PowerShellβ
Note:
ContainerRegistry
has been deprecated and is replaced byContainers
.Use the below command to enable
Standard
pricing tier forContainers
:Set-AzSecurityPricing -Name 'Containers' -PricingTier 'Standard'