BHEAttackPathsData_CL 
| where Finding == "AzureT0MGAddMember"
kind: Scheduled
customDetails:
  Remediation: ShortRemediation
  Description: ShortDescription
entityMappings:
- entityType: URL
  fieldMappings:
  - columnName: domain_name
    identifier: Url
description: BloodHound Attack Path Finding - Tier Zero Group Control via MS Graph App Role
severity: Medium
queryFrequency: 1h
triggerThreshold: 0
relevantTechniques: []
status: Available
tactics: []
name: BloodHound Attack Path Finding - Tier Zero Group Control via MS Graph App Role
id: 70e09635-9787-41af-9973-87d22ca15292
query: |-
  BHEAttackPathsData_CL 
  | where Finding == "AzureT0MGAddMember"  
requiredDataConnectors:
- dataTypes:
  - BHEAttackPathsData_CL
  connectorId: BloodHoundEnterprise
version: 1.0.0
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BloodHound Enterprise/Analytic Rules/TierZeroGroupControlViaMsGraphAppRole.yaml
queryPeriod: 1h
{
  "$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/70e09635-9787-41af-9973-87d22ca15292')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/70e09635-9787-41af-9973-87d22ca15292')]",
      "properties": {
        "alertRuleTemplateName": "70e09635-9787-41af-9973-87d22ca15292",
        "customDetails": {
          "Description": "ShortDescription",
          "Remediation": "ShortRemediation"
        },
        "description": "BloodHound Attack Path Finding - Tier Zero Group Control via MS Graph App Role",
        "displayName": "BloodHound Attack Path Finding - Tier Zero Group Control via MS Graph App Role",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "domain_name",
                "identifier": "Url"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BloodHound Enterprise/Analytic Rules/TierZeroGroupControlViaMsGraphAppRole.yaml",
        "query": "BHEAttackPathsData_CL \n| where Finding == \"AzureT0MGAddMember\"",
        "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"
    }
  ]
}