{ "type": "Microsoft.Authorization/policySetDefinitions", "apiVersion": "2021-06-01", "name": "Notification-Assets", "properties": { "displayName": "Deploy Azure Monitor Baseline Alerts - Notification Assets", "description": "Initiative to deploy AMBA Notification Assets", "metadata": { "version": "1.2.0", "category": "Monitoring", "source": "https://github.com/Azure/azure-monitor-baseline-alerts/", "alzCloudEnvironments": [ "AzureCloud" ], "_deployed_by_amba": true }, "parameters": { "ALZMonitorResourceGroupName": { "type": "String", "defaultValue": "ALZ-Monitoring-RG", "metadata": { "displayName": "Resource Group Name", "description": "Name of the resource group to deploy the alerts to" } }, "ALZMonitorResourceGroupTags": { "type": "Object", "defaultValue": { "_deployed_by_alz_monitor": true }, "metadata": { "displayName": "Resource Group Tags", "description": "Tags to apply to the resource group" } }, "ALZMonitorResourceGroupLocation": { "type": "String", "defaultValue": "centralus", "metadata": { "displayName": "Resource Group Location", "description": "Location of the resource group" } }, "ALZMonitorActionGroupEmail": { "type": "String", "metadata": { "displayName": "Action Group Email Addresses", "description": "Email addresses to send alerts to" }, "defaultValue": "" }, "ALZLogicappResourceId": { "type": "String", "metadata": { "displayName": "Logic App Resource Id", "description": "Logic App Resource Id for Action Group to send alerts to" }, "defaultValue": "" }, "ALZLogicappCallbackUrl": { "type": "String", "metadata": { "displayName": "Logic App Callback URL", "description": "Callback URL that triggers the Logic App" }, "defaultValue": "" }, "ALZArmRoleId": { "type": "String", "metadata": { "displayName": "Arm Role Id", "description": "Arm Built-in Role Id for action group to send alerts to a subscription level, will only send to individual members of role" }, "defaultValue": "" }, "ALZEventHubResourceId": { "type": "String", "metadata": { "displayName": "Event Hub resource id", "description": "Event Hub resource id for action group to send alerts to" }, "defaultValue": "" }, "ALZWebhookServiceUri": { "type": "String", "metadata": { "displayName": "Webhook Service Uri", "description": "Indicates the service uri of the webhook to send alerts to" }, "defaultValue": "" }, "ALZFunctionResourceId": { "type": "String", "metadata": { "displayName": "Function Resource Id", "description": "Function Resource Id for Action Group to send alerts to" }, "defaultValue": "" }, "ALZFunctionTriggerUrl": { "type": "String", "metadata": { "displayName": "Function Trigger URL", "description": "URL that triggers the Function" }, "defaultValue": "" }, "BYOActionGroup": { "type": "String", "metadata": { "displayName": "Customer defined Action Group Resource ID", "description": "The Resource ID of an existing Action Group already deployed by the customer in his environment" }, "defaultValue": "" }, "BYOAlertProcessingRule": { "type": "String", "metadata": { "displayName": "Customer defined Alert Processing Rule Resource ID", "description": "The Resource ID of an existing Alert Processing Rule already deployed by the customer in his environment" }, "defaultValue": "" } }, "policyDefinitions": [ { "policyDefinitionReferenceId": "ALZ_AlertProcessing_Rule", "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Authorization/policyDefinitions/Deploy_AlertProcessing_Rule", "parameters": { "ALZMonitorResourceGroupName": { "value": "[[parameters('ALZMonitorResourceGroupName')]" }, "ALZMonitorResourceGroupTags": { "value": "[[parameters('ALZMonitorResourceGroupTags')]" }, "ALZMonitorResourceGroupLocation": { "value": "[[parameters('ALZMonitorResourceGroupLocation')]" }, "ALZMonitorActionGroupEmail": { "value": "[[parameters('ALZMonitorActionGroupEmail')]" }, "ALZLogicappResourceId": { "value": "[[parameters('ALZLogicappResourceId')]" }, "ALZLogicappCallbackUrl": { "value": "[[parameters('ALZLogicappCallbackUrl')]" }, "ALZArmRoleId": { "value": "[[parameters('ALZArmRoleId')]" }, "ALZEventHubResourceId": { "value": "[[parameters('ALZEventHubResourceId')]" }, "ALZWebhookServiceUri": { "value": "[[parameters('ALZWebhookServiceUri')]" }, "ALZFunctionResourceId": { "value": "[[parameters('ALZFunctionResourceId')]" }, "ALZFunctionTriggerUrl": { "value": "[[parameters('ALZFunctionTriggerUrl')]" }, "BYOActionGroup": { "value": "[[parameters('BYOActionGroup')]" }, "BYOAlertProcessingRule": { "value": "[[parameters('BYOAlertProcessingRule')]" } } }, { "policyDefinitionReferenceId": "ALZ_Suppression_AlertProcessing_Rule", "policyDefinitionId": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Authorization/policyDefinitions/Deploy_Suppression_AlertProcessing_Rule", "parameters": { "ALZMonitorResourceGroupName": { "value": "[[parameters('ALZMonitorResourceGroupName')]" }, "ALZMonitorResourceGroupTags": { "value": "[[parameters('ALZMonitorResourceGroupTags')]" }, "ALZMonitorResourceGroupLocation": { "value": "[[parameters('ALZMonitorResourceGroupLocation')]" } } } ], "policyType": "Custom", "policyDefinitionGroups": null } }