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
description: |
    'Triggers when API Access has been granted to a new client.'
kind: Scheduled
query: |
  GWorkspaceActivityReports
  | where EventMessage has "AUTHORIZE_API_CLIENT_ACCESS"
  | extend AccountCustomEntity = ActorEmail  
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
status: Available
tactics:
- DefenseEvasion
- LateralMovement
queryFrequency: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceApiAccessToNewClient.yaml
name: GWorkspace - API Access Granted
version: 1.0.1
triggerOperator: gt
requiredDataConnectors:
- dataTypes:
  - GWorkspaceActivityReports
  connectorId: GoogleWorkspaceReportsAPI
severity: Medium
queryPeriod: 1h
id: c45a9804-5da8-11ec-bf63-0242ac130002
relevantTechniques:
- T1550
triggerThreshold: 0
{
  "$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/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",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "DefenseEvasion",
          "LateralMovement"
        ],
        "techniques": [
          "T1550"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}