Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

GWorkspace - Admin permissions granted

Back
Id03f25156-6172-11ec-90d6-0242ac120003
RulenameGWorkspace - Admin permissions granted
DescriptionTriggers on admin permissions granted.
SeverityHigh
TacticsPersistence
TechniquesT1098
Required data connectorsGoogleWorkspaceReportsAPI
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceAdminPermissionsGranted.yaml
Version1.0.1
Arm template03f25156-6172-11ec-90d6-0242ac120003.json
Deploy To Azure
GWorkspaceActivityReports 
| where EventMessage =~ 'grant_admin_privilege'
| extend AccountCustomEntity = ActorEmail
status: Available
id: 03f25156-6172-11ec-90d6-0242ac120003
name: GWorkspace - Admin permissions granted
requiredDataConnectors:
- connectorId: GoogleWorkspaceReportsAPI
  dataTypes:
  - GWorkspaceActivityReports
severity: High
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceAdminPermissionsGranted.yaml
kind: Scheduled
description: |
    'Triggers on admin permissions granted.'
relevantTechniques:
- T1098
queryPeriod: 1h
triggerOperator: gt
queryFrequency: 1h
query: |
  GWorkspaceActivityReports 
  | where EventMessage =~ 'grant_admin_privilege'
  | extend AccountCustomEntity = ActorEmail  
version: 1.0.1
tactics:
- Persistence
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/03f25156-6172-11ec-90d6-0242ac120003')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/03f25156-6172-11ec-90d6-0242ac120003')]",
      "properties": {
        "alertRuleTemplateName": "03f25156-6172-11ec-90d6-0242ac120003",
        "customDetails": null,
        "description": "'Triggers on admin permissions granted.'\n",
        "displayName": "GWorkspace - Admin permissions granted",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceAdminPermissionsGranted.yaml",
        "query": "GWorkspaceActivityReports \n| where EventMessage =~ 'grant_admin_privilege'\n| extend AccountCustomEntity = ActorEmail\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "High",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Persistence"
        ],
        "techniques": [
          "T1098"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}