GWorkspace - API Access Granted
Id | c45a9804-5da8-11ec-bf63-0242ac130002 |
Rulename | GWorkspace - API Access Granted |
Description | Triggers when API Access has been granted to a new client. |
Severity | Medium |
Tactics | DefenseEvasion LateralMovement |
Techniques | T1550 |
Required data connectors | GoogleWorkspaceReportsAPI |
Kind | Scheduled |
Query frequency | 1h |
Query period | 1h |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceApiAccessToNewClient.yaml |
Version | 1.0.1 |
Arm template | c45a9804-5da8-11ec-bf63-0242ac130002.json |
GWorkspaceActivityReports
| where EventMessage has "AUTHORIZE_API_CLIENT_ACCESS"
| extend AccountCustomEntity = ActorEmail
relevantTechniques:
- T1550
name: GWorkspace - API Access Granted
requiredDataConnectors:
- dataTypes:
- GWorkspaceActivityReports
connectorId: GoogleWorkspaceReportsAPI
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
triggerThreshold: 0
id: c45a9804-5da8-11ec-bf63-0242ac130002
tactics:
- DefenseEvasion
- LateralMovement
version: 1.0.1
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceApiAccessToNewClient.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
'Triggers when API Access has been granted to a new client.'
query: |
GWorkspaceActivityReports
| where EventMessage has "AUTHORIZE_API_CLIENT_ACCESS"
| extend AccountCustomEntity = ActorEmail
triggerOperator: gt
{
"$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/c45a9804-5da8-11ec-bf63-0242ac130002')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/c45a9804-5da8-11ec-bf63-0242ac130002')]",
"properties": {
"alertRuleTemplateName": "c45a9804-5da8-11ec-bf63-0242ac130002",
"customDetails": null,
"description": "'Triggers when API Access has been granted to a new client.'\n",
"displayName": "GWorkspace - API Access Granted",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceApiAccessToNewClient.yaml",
"query": "GWorkspaceActivityReports\n| where EventMessage has \"AUTHORIZE_API_CLIENT_ACCESS\"\n| extend AccountCustomEntity = ActorEmail\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"DefenseEvasion",
"LateralMovement"
],
"techniques": [
"T1550"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}