Skip to content
WETNav

methodNameDepends on context

GenerateAccessToken: Service account token generated

A short-lived access token was minted for a service account (impersonation).

How to read it

Recorded in the IAM credentials Data Access log. Check the caller in authenticationInfo.

Find it

gcloud logging read 'protoPayload.methodName="GenerateAccessToken"' \
  --freshness=30d --format=json --project=<project-id>

ATT&CK

About methodName

The API method recorded in protoPayload.methodName of a Cloud Audit Logs entry. Admin Activity logs are always on; Data Access logs mostly have to be enabled.

Every Google Cloud audit log methodName value →

Questions

What does methodName GenerateAccessToken mean?
Service account token generated. A short-lived access token was minted for a service account (impersonation). Recorded in the IAM credentials Data Access log. Check the caller in authenticationInfo.
Is methodName GenerateAccessToken a sign of an attack?
It depends on the context around it. It is associated with MITRE ATT&CK Application Access Token (T1550.001). Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is methodName GenerateAccessToken recorded?
In the protoPayload.methodName field of Google Cloud audit logs.
How do I search for methodName GenerateAccessToken?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.