Control: 2.2.3 Ensure that Auto provisioning of 'Microsoft Defender for Containers components' is Set to 'On'
Description
Enable automatic provisioning of the Microsoft Defender for Containers components.
As with any compute resource, Container environments require hardening and run-time protection to ensure safe operations and detection of threats and vulnerabilities.
Remediation
From Azure Portal
- From Azure Home select the Portal Menu
 - Select 
Microsoft Defender for Cloud - Select 
Environment Settings - Select a subscription
 - Select 
Auto Provisioningin the left column. - Set 
Microsoft Defender for Containers componentstoOn 
Repeat the above for any additional subscriptions.
Default Value
By default, Microsoft Defender for Containers is disabled. 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_v150_2_2_3Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v150_2_2_3 --shareSQL
This control uses a named query:
select  id as resource,  'info' as status,  'Manual verification required.' as reason,  display_name as subscriptionfrom  azure_subscription;