Detection rules › Kusto

GWorkspace - API Access Granted

Status
available
Severity
medium
Time window
1h
Source
github.com/Azure/Azure-Sentinel

Triggers when API Access has been granted to a new client.

MITRE ATT&CK coverage

TacticTechniques
Lateral Movement

Telemetry coverage

Rule body

id: c45a9804-5da8-11ec-bf63-0242ac130002
name: GWorkspace - API Access Granted
description: |
  'Triggers when API Access has been granted to a new client.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: GoogleWorkspaceReportsAPI
    dataTypes:
      - GWorkspaceActivityReports
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - DefenseEvasion
  - LateralMovement
relevantTechniques:
  - T1550
query: |
  GWorkspaceActivityReports
  | where EventMessage has "AUTHORIZE_API_CLIENT_ACCESS"
  | extend AccountCustomEntity = ActorEmail
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.1
kind: Scheduled

Stages and Predicates

Stage 1: source

GWorkspaceActivityReports

Stage 2: where

| where EventMessage has "AUTHORIZE_API_CLIENT_ACCESS"

Stage 3: extend

| extend AccountCustomEntity = ActorEmail

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
EventMessagematch
  • AUTHORIZE_API_CLIENT_ACCESS transforms: term
field:"EventMessage" kind:match value:"AUTHORIZE_API_CLIENT_ACCESS"

Output fields

These fields are emitted when the rule matches.

FieldSource
AccountCustomEntityextend