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

GWorkspace - API Access Granted

Back
Idc45a9804-5da8-11ec-bf63-0242ac130002
RulenameGWorkspace - API Access Granted
DescriptionTriggers when API Access has been granted to a new client.
SeverityMedium
TacticsDefenseEvasion
LateralMovement
TechniquesT1550
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/GWorkspaceApiAccessToNewClient.yaml
Version1.0.1
Arm templatec45a9804-5da8-11ec-bf63-0242ac130002.json
Deploy To Azure
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"
    }
  ]
}