{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/8844495b-1d05-4080-9fc2-28621f744a4b')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/8844495b-1d05-4080-9fc2-28621f744a4b')]",
      "properties": {
        "alertRuleTemplateName": "8844495b-1d05-4080-9fc2-28621f744a4b",
        "customDetails": {
          "Description": "ShortDescription",
          "Remediation": "ShortRemediation"
        },
        "description": "BloodHound Attack Path Finding - Non-Tier Zero AD User Synced to Tier Zero Entra User",
        "displayName": "BloodHound Attack Path Finding - Non-Tier Zero AD User Synced to Tier Zero Entra User",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "domain_name",
                "identifier": "Url"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BloodHound%20Enterprise/Analytic%20Rules/TierZeroAdUserSyncedToTierZeroEntraUser.yaml",
        "query": "BHEAttackPathsData_CL \n| where Finding == \"AzureT0SyncedToEntraUser\"",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [],
        "techniques": [],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}
