GWorkspaceActivityReports
| where EventMessage =~ 'grant_admin_privilege'
| extend AccountCustomEntity = ActorEmail
status: Available
queryFrequency: 1h
description: |
'Triggers on admin permissions granted.'
severity: High
version: 1.0.1
relevantTechniques:
- T1098
name: GWorkspace - Admin permissions granted
triggerThreshold: 0
kind: Scheduled
query: |
GWorkspaceActivityReports
| where EventMessage =~ 'grant_admin_privilege'
| extend AccountCustomEntity = ActorEmail
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceAdminPermissionsGranted.yaml
requiredDataConnectors:
- connectorId: GoogleWorkspaceReportsAPI
dataTypes:
- GWorkspaceActivityReports
tactics:
- Persistence
id: 03f25156-6172-11ec-90d6-0242ac120003
queryPeriod: 1h
entityMappings:
- fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
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": "2024-01-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",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Persistence"
],
"techniques": [
"T1098"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}