Control: 9.1.3.4 Ensure that 'Agentless scanning for machines' component status is set to 'On'
Description
Using disk snapshots, the agentless scanner scans for installed software, vulnerabilities, and plain text secrets.
The Microsoft Defender for Cloud agentless machine scanner provides threat detection, vulnerability detection, and discovery of sensitive information.
Remediation
From Azure Portal
- From the Azure Portal 
Homepage, selectMicrosoft Defender for Cloud. - Under 
ManagementselectEnvironment Settings. - Select a subscription.
 - Under 
Settings>Defender Plans, clickSettings & monitoring. - Under the Component column, locate the row for 
Agentless scanning for machines. - Select 
On. - Click 
Continuein the top left. 
Repeat the above for any additional subscriptions.
Default Value
By default, Agentless scanning for machines is off.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v400_9_1_3_4Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v400_9_1_3_4 --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;