{
    "properties": {
        "displayName": "Configure machines to automatically install the Azure Monitor and Azure Security agents on virtual machines",
        "policyType": "BuiltIn",
        "description": "Configure machines to automatically install the Azure Monitor and Azure Security agents. Security Center collects events from the agents and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group and Log Analytics workspace in the same region as the machine to store audit records. This policy only applies to VMs in a few regions.",
        "metadata": {
            "category": "Monitoring",
            "version": "2.0.0-preview",
            "preview": true
        },
        "policyDefinitions": [
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/17b3de92-f710-4cf4-aa55-0e7859f1ed7b",
                "policyDefinitionReferenceId": "Prerequisite_AddSystemIdentity"
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a4034bc6-ae50-406d-bf76-50f4ee5a7811",
                "policyDefinitionReferenceId": "Prerequisite_DeployExtensionLinux"
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ca817e41-e85a-4783-bc7f-dc532d36235e",
                "policyDefinitionReferenceId": "Prerequisite_DeployExtensionWindows"
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/5f8eb305-9c9f-4abe-9bb0-df220d9faba2",
                "policyDefinitionReferenceId": "ASC_DeployAzureSecurityLinuxAgent"
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/1537496a-b1e8-482b-a06a-1cc2415cdc7b",
                "policyDefinitionReferenceId": "ASC_DeployAzureSecurityWindowsAgent"
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/8b5ad9ab-3d44-4a6e-9ac3-75b04ea5fd28",
                "policyDefinitionReferenceId": "ASC_AMA_DefaultPipeline_Deploy"
            }
        ]
    },
    "id": "/providers/Microsoft.Authorization/policySetDefinitions/a15f3269-2e10-458c-87a4-d5989e678a73",
    "name": "a15f3269-2e10-458c-87a4-d5989e678a73"
}