Skip to content
WETNav

Okta

Okta System Log

Okta's audit trail: sign-ins, MFA challenges and enrollments, password resets, admin actions and policy changes.

Why it matters

Help desk social engineering is now a leading way in. The System Log shows the sequence that proves it: a factor reset, a new enrollment from an unfamiliar device, then sign-ins to downstream apps.

How long it lasts

  • 90 days in Okta. Stream or export to a SIEM to keep more.
Plan collection order across every source

Get the data

curl -s -H "Authorization: SSWS $OKTA_TOKEN" \
  "https://<your-org>.okta.com/api/v1/logs?since=2026-01-01T00:00:00Z&filter=eventType+eq+%22user.mfa.factor.reset_all%22"

Fields that matter

eventType

What happened, for example user.mfa.factor.reset_all.

actor

Who did it: user, admin or system.

target

Who or what it was done to.

client.ipAddress / client.userAgent

Source IP and user agent.

securityContext

ASN, ISP and whether the IP is a known proxy.

outcome.result / outcome.reason

SUCCESS, FAILURE, DENY and the reason.

authenticationContext.externalSessionId

Ties events from one session together.

debugContext.debugData

Behaviors and risk details for the request.

Values to know

Traps

  • A factor reset is often done by the help desk at the attacker's request. The log shows a legitimate admin as the actor; the evidence is the missing ticket from the real user.
  • Join on externalSessionId to follow one session across apps.
  • Retention is 90 days; long-running intrusions need a SIEM copy.

Playbooks that use it