Skip to content
WETNav

Google

Google Workspace audit logs

Login, OAuth token, admin, Drive and account activity from the Google Workspace Reports API, with actor, IP and event parameters.

Why it matters

Account takeover, OAuth consent abuse and Drive data theft in Google Workspace are reconstructed from these logs: suspicious login events, token authorizations and file downloads by user and IP.

How long it lasts

  • Most activity logs are kept for about 6 months in the Admin console and Reports API; confirm the current periods for your edition.
  • Export to BigQuery (Enterprise and Education editions) or a SIEM for longer retention and joins.
  • Events can take hours to appear in the Reports API, so recent activity may be missing during a live response.
Plan collection order across every source

Get the data

GET https://admin.googleapis.com/admin/reports/v1/activity/users/[email protected]/applications/login?startTime=2026-01-01T00:00:00Z

# Other applications: token, admin, drive, user_accounts, gmail, saml

Fields that matter

id.applicationName

Which log: login, token, admin, drive, user_accounts and others.

events[].name

The event, for example suspicious_login, authorize or download.

events[].parameters

Event detail as name/value pairs: login_type, app_name, scope, doc_title and more.

actor.email

The user who performed the action.

ipAddress

Source IP of the action.

id.time

Event time (UTC).

Values to know

Traps

  • OAuth grants in the token log keep working after a password reset. Revoke the app's access for the user as part of eviction.
  • Drive download events can be very high volume. Filter by actor and time first, then by doc_title or doc_id.
  • Reports API delays mean an empty result for the last few hours does not prove nothing happened.

Playbooks that use it