Control: 3.1.4.3 Ensure that 'Agentless container vulnerability assessment' component status is 'On'
Description
Enable automatic vulnerability management for images stored in ACR or running in AKS clusters.
Agentless vulnerability scanning will examine container images - whether running or in storage - for vulnerable configurations.
Remediation
From Azure Portal
- From the Azure Portal
Home
page, selectMicrosoft Defender for Cloud
. - Under
Management
selectEnvironment Settings
. - Select a subscription.
- Under
Settings
>Defender Plans
, clickSettings & monitoring
. - Locate the row for
Agentless container vulnerability assessment
. - Select
On
. - Click
Continue
in the top left.
Repeat the above for any additional subscriptions.
Default Value
By default, Microsoft Defender for Containers is Off
.
If Defender for Containers is enabled from the Microsoft Defender for Cloud portal, auto provisioning will be enabled.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v300_3_1_4_3
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v300_3_1_4_3 --share
SQL
This control uses a named query:
manual_control