Control: Auto provisioning of the Log Analytics agent should be enabled on your subscription
To monitor for security vulnerabilities and threats, Azure Security Center collects data from your Azure virtual machines. Data is collected by the Log Analytics agent, formerly known as the Microsoft Monitoring Agent (MMA), which reads various security-related configurations and event logs from the machine and copies the data to your Log Analytics workspace for analysis. We recommend enabling auto provisioning to automatically deploy the agent to all supported Azure VMs and any new ones that are created.
Run the control in your terminal:
steampipe check terraform_azure_compliance.control.securitycenter_automatic_provisioning_monitoring_agent_on
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share terraform_azure_compliance.control.securitycenter_automatic_provisioning_monitoring_agent_on
This control uses a named query:securitycenter_automatic_provisioning_monitoring_agent_on