GWorkspaceActivityReports
| where EventMessage has "change_user_access"
| extend AccountCustomEntity = ActorEmail
queryFrequency: 1h
description: |
'Detects user access change.'
name: GWorkspace - User access has been changed
relevantTechniques:
- T1098
triggerThreshold: 0
status: Available
id: 92fae638-5da8-11ec-bf63-0242ac130002
requiredDataConnectors:
- dataTypes:
- GWorkspaceActivityReports
connectorId: GoogleWorkspaceReportsAPI
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
queryPeriod: 1h
query: |
GWorkspaceActivityReports
| where EventMessage has "change_user_access"
| extend AccountCustomEntity = ActorEmail
kind: Scheduled
severity: Low
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceChangedUserAccess.yaml
version: 1.0.1
triggerOperator: gt
tactics:
- Persistence
{
"$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/92fae638-5da8-11ec-bf63-0242ac130002')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/92fae638-5da8-11ec-bf63-0242ac130002')]",
"properties": {
"alertRuleTemplateName": "92fae638-5da8-11ec-bf63-0242ac130002",
"customDetails": null,
"description": "'Detects user access change.'\n",
"displayName": "GWorkspace - User access has been changed",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceChangedUserAccess.yaml",
"query": "GWorkspaceActivityReports\n| where EventMessage has \"change_user_access\"\n| extend AccountCustomEntity = ActorEmail\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Low",
"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"
}
]
}