policyAssignments/CAF-ManagementMG-Default.json

{
    "nodeName": "/Management/",
    "scope": {
        "tenant1": [
            "/providers/Microsoft.Management/managementGroups/management"
        ]
    },
    "parameters": {
        "retentionInDays": "30",
        "logAnalyticsWorkspaceName": "",
        "automationAccountName": "",
        "workspaceRegion": "",
        "automationRegion": "",
        "rgName": ""
    },
    "children": [
        {
            "nodeName": "Logging/",
            "children": [
                {
                    "nodeName": "ActivityLogs",
                    "assignment": {
                        "name": "Deploy-Log-Analytics",
                        "displayName": "Configure Log Analytics workspace and automation account to centralize logs and monitoring",
                        "description": "Deploy resource group containing Log Analytics workspace and linked automation account to centralize logs and monitoring. The automation account is a prerequisite for solutions like Updates and Change Tracking."
                    },
                    "definitionEntry": {
                        "policyName": "8e3e61b3-0b32-22d5-4edf-55f87fdb5955"
                    },
                    "parameters": {}
                }
            ]
        }
    ]
}