Skip to content

Dataset

Okta sign-in and System Log datasets for AI training

An Okta dataset is an export of one company's Okta Workforce Identity org: the System Log's LogEvent records for every sign-in, policy evaluation, factor challenge and administrator action, with the User, Group, Application, Factor, Policy and Network Zone objects that explain each event. SourceX sources it to a buyer's spec from established businesses that run Okta for workforce sign-in. Each dataset is de-identified, with logins, IP addresses and device identifiers pseudonymized consistently, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
System Log events from one Okta org, with the user, group, application assignment, factor and policy objects that explain them
Typical systems
Okta Workforce Identity on Classic Engine or Identity Engine: Single Sign-On, Adaptive MFA, Universal Directory, Lifecycle Management, API Access Management and Log Streaming
Typical history
Specified by the buyer; the System Log API returns about 90 days of events, so longer runs depend on a SIEM or storage copy
Modality
JSON event records with nested actor, target, client and outcome objects, plus JSON directory and policy objects
Delivery formats
Agreed per order; LogEvent records as JSONL, directory and policy objects as JSON, or flattened Parquet tables with a documented mapping
Preparation
Logins, names, IP addresses, device and session identifiers pseudonymized with one mapping across events and objects; geolocation coarsened
Licensing
Rights reviewed per org; the buyer and the data owner check employee notice of sign-in logging and the vendor's terms; permitted use set in the license
Availability
Sourced to your spec by engine, user count, event types and window; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
org_keystringThe Okta org the records came from, re-keyed; one org is one tenant with its own users and policies.
event_uuidstringThe LogEvent uuid, unique per event and the key for removing duplicates left by overlapping pulls.
publisheddatetimeThe LogEvent published timestamp in UTC, the time Okta recorded the event.
event_typestringThe LogEvent eventType from Okta's fixed catalog, such as user.session.start or policy.evaluate_sign_on.
event_actorobjectThe LogEvent actor: id, type and pseudonymized alternateId of the User, admin, client or system principal that acted.
targetsarrayThe LogEvent target list: each User, AppInstance, AppUser, UserGroup, PolicyEntity or PolicyRule the event touched.
outcomeobjectThe LogEvent outcome: a result such as SUCCESS, FAILURE, ALLOW, DENY or CHALLENGE, with its reason.
clientobjectThe LogEvent client and securityContext: parsed user agent, device, matched Network Zone, coarse geographicalContext, AS number and proxy flag.
authentication_contextobjectThe LogEvent authenticationContext: externalSessionId, credentialType, credentialProvider and authenticationStep.
transaction_idstringThe LogEvent transaction id, shared by every event that one web request or background job produced.
debug_dataobjectThe LogEvent debugContext debugData: requestUri, behaviors, risk and threatSuspected, parsed from Okta's text values.
user_snapshotobjectThe User object at export for the actor or target: status, created, lastLogin and enrolled Factor types.
membershipsobjectGroup ids and AppUser assignments for that User at export, with the Group Rule behind a group where known.
policy_snapshotobjectThe Policy and Policy Rule named in the event's targets, as exported: type, priority, conditions and actions.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "org_key": "org_3f9a",
  "event_uuid": "evt_b7d1c2e4",
  "published": "2024-08-14T13:02:11.482Z",
  "event_type": "policy.evaluate_sign_on",
  "event_actor": {
    "id": "00u_7c41",
    "type": "User",
    "alternate_id": "user_5d2e@[DOMAIN]"
  },
  "targets": [
    {
      "id": "0oa_91bd",
      "type": "AppInstance",
      "display_name": "[APP_17]"
    },
    {
      "id": "00p_22aa",
      "type": "PolicyEntity"
    },
    {
      "id": "0pr_83fc",
      "type": "PolicyRule"
    }
  ],
  "outcome": {
    "result": "CHALLENGE",
    "reason": "Sign-on policy evaluation resulted in CHALLENGE"
  },
  "client": {
    "user_agent": {
      "os": "Mac OS X",
      "browser": "CHROME"
    },
    "device": "Computer",
    "zone": "zone_untrusted",
    "ip": "[IP_a41c]",
    "country": "United States",
    "as_number": "[ASN_77]"
  },
  "authentication_context": {
    "external_session_id": "sess_9e02",
    "credential_type": null,
    "authentication_step": 0
  },
  "transaction_id": "txn_4b7d",
  "debug_data": {
    "request_uri": "/api/v1/authn",
    "behaviors": {
      "New Geo-Location": "NEGATIVE",
      "New Device": "POSITIVE",
      "New IP": "POSITIVE",
      "Velocity": "NEGATIVE"
    },
    "risk": {
      "level": "MEDIUM",
      "reasons": "Anomalous Device"
    }
  },
  "user_snapshot": {
    "status": "ACTIVE",
    "created": "2021-03-01T09:14:55.000Z",
    "last_login": "2024-11-02T08:40:19.000Z",
    "factor_types": [
      "push",
      "webauthn"
    ]
  },
  "memberships": {
    "groups": [
      "grp_everyone",
      "grp_finance_ops"
    ],
    "app_users": [
      {
        "app": "0oa_91bd",
        "scope": "GROUP"
      }
    ]
  },
  "policy_snapshot": {
    "policy_type": "OKTA_SIGN_ON",
    "rule": {
      "priority": 2,
      "conditions": {
        "network": {
          "connection": "ZONE",
          "exclude": [
            "zone_office"
          ]
        }
      },
      "actions": {
        "signon": {
          "access": "ALLOW",
          "requireFactor": true
        }
      }
    }
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train sign-in risk models on whole sequences

Events sharing an externalSessionId give sign-in, policy evaluation, factor challenge and application sign-on in order, with Okta's behavior and risk values.

Evaluate account takeover detection

Denied Okta Verify pushes, user reports of suspicious activity and admin session clears are labels already inside the event stream.

Teach agents to answer access questions

Why a user was challenged is answerable from the policy evaluation event, the rule named in its targets and that rule's conditions.

Model help desk lockout and reset work

user.account.lock, admin password resets and factor resets show who was locked out and who fixed it.

Practice group and assignment reasoning

Group Rule expressions, group membership events and AppUser assignments show how a profile attribute becomes access to an application.

Use-case guides: Enterprise and computer-use agents, Private evaluation sets, Customer support agents

What makes this data valuable

A SIEM copy with whole events

The raw LogEvent JSON kept in the archive, debugContext included, and not only a parsed set of columns.

Continuous collection

Hourly event counts with no empty stretches where a collector stalled, and no repeated uuid values.

Dated policy definitions

Policies and rules kept in Terraform or in scheduled API exports, so a past rule set can be read.

One engine across the window

The window sits wholly on Classic Engine or on Identity Engine, or the upgrade date is stated.

Directory fed by an HR system

Users created and deactivated by an import, so lifecycle events trace joiners, movers and leavers.

Several factor types in use

Push, WebAuthn and one-time code enrollments, so challenges and their failures vary.

Record timeline

Okta dataset

This page covers okta identity and sign-in logs.Illustrative

Session and transaction IDs turn one stream into sign-in sequences

Okta writes everything to one System Log. Each record is a LogEvent with one envelope: an eventType from Okta's fixed catalog, an actor, a list of targets, an outcome and a client context. A sign-in is therefore several rows. On Classic Engine a browser sign-in to an application typically produces a user.session.start, a policy.evaluate_sign_on whose targets name the policy and the rule that matched and whose outcome is ALLOW, DENY or CHALLENGE, a user.authentication.auth_via_mfa naming the factor, and one user.authentication.sso per application opened. Two identifiers hold these together. Events produced by one request share a transaction id, and events in one session share authenticationContext.externalSessionId. Group by session and order by published to rebuild the sequence, then read a few sessions by hand, since the exact order varies with the org's policies.

Administrator work sits in the same stream with the same envelope. When an admin adds a user to a group, resets a factor or edits a policy rule, the admin is the actor and the user, group or rule is the target, as in group.user_membership.add, user.mfa.factor.reset_all and policy.rule.update. Background work, such as a directory import or a Group Rule assigning members, carries a transaction of type JOB and no browser session.

Three traits of this log decide how it has to be parsed. The debugData block is a bag of strings: behaviors and risk arrive as one text value of name and result pairs, and the keys present vary by event type. Identity Engine orgs log a different set of events for the same sign-in than Classic Engine orgs, because a global session policy and a separate policy for each application replaced the older sign-on rules, so sequences from the two should not be mixed unlabeled. And a failed sign-in by an unknown user records whatever was typed as the actor's alternateId. People sometimes type a password into the username box, so that field must be masked.

The API window is short, and the directory is a snapshot

The System Log API returns events only inside Okta's retention window, which its documentation gives as 90 days, queried with since, until and a filter expression and paged by following the next link. Nothing older can be pulled later. Multi-year history exists only where the holder copied events out as they happened, through Log Streaming to Amazon EventBridge or Splunk Cloud, or through a SIEM collector polling the API. A polling request returns events in the order Okta stored them, which can differ from published order, and a collector that pages by since and until in place of the next link can skip or repeat events. The copy has also been through the collector's parser. Nested fields may be flattened or renamed, debugContext may be dropped, and a stalled collector leaves a gap.

The Users, Groups, Apps, Factors, Policies and Zones APIs return current state. A User object carries created, activated, statusChanged and lastLogin, but no list of groups it used to be in. Membership on a past date has to be rebuilt by replaying group.user_membership.add and remove events backward from the snapshot, and only as far as the log copy reaches. Deleted users are gone from the Users API while their ids remain in old events. Policy exports show today's rules. An update event dates each edit, but ask whether it shows the old and new values. Holders who manage Okta through Terraform have dated policy history in Git.

To test a sample, count events per hour and look for empty hours and repeated uuid values. Walk ten externalSessionId values from session start to application sign-on. Resolve every actor and target id against the delivered objects and record the miss rate. Replay membership events for a few users and compare with the snapshot.

What to check before licensing

  • Ask whether events come straight from the System Log API or from a SIEM or storage copy, when that copy began, and whether it holds raw LogEvent JSON or parsed columns.
  • Ask which engine the org runs, Classic or Identity Engine, and the upgrade date if it falls inside the window, since the events logged for a sign-in differ.
  • Count events per hour across the window and check for repeated uuid values, to find collector gaps and overlapping pulls.
  • Confirm one pseudonym mapping covers usernames, email addresses, IP addresses, device and session identifiers across events and objects, and that failed sign-ins by unknown users have alternateId masked.
  • Ask how past policy and rule versions are dated: Terraform history, scheduled exports, or update events alone.
  • Have the buyer and the data owner each check Okta's terms on exported data and API use against the intended use.
  • Confirm with counsel that employees were told their sign-in activity is logged, under the privacy law that applies where they work.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

How far back does Okta System Log data go?

About 90 days through the API, by Okta's documentation, and beyond that only where the company copied events out as they happened. Ask where the long copy lives, when it started, and whether it kept the raw event JSON. Events older than that copy cannot be recovered from Okta.

Can a full sign-in be rebuilt from Okta events?

Yes, where the events are complete. Events from one request share a transaction id and events from one session share an externalSessionId, so the session start, policy evaluation, factor verification and application sign-on can be ordered by published time. Ask for a sample you can walk from end to end.

Does an Okta export show who was in a group last year?

No, not by itself. The Groups API returns current members and the User object carries no membership history. Past membership has to be rebuilt by replaying group membership add and remove events backward from the current snapshot, which works only for the period the event copy covers.

Do Classic Engine and Identity Engine logs look the same?

No. Both write LogEvent records with the same envelope, but the events logged for a sign-in and the policy objects behind them differ, because Identity Engine evaluates a global session policy and then a separate policy for the application. Ask which engine produced each part of the window and keep the two labeled.

How are usernames, IP addresses and devices de-identified?

They are replaced with pseudonyms before delivery, and you should specify one mapping for the whole delivery, so a person or device keeps one token across events and directory objects. Fields derived from the IP address, such as country, AS number and matched Network Zone, can be kept while the address is masked. Review a processed sample, because no de-identification method is perfect.

Is SourceX affiliated with Okta?

Okta Workforce Identity is named to identify the system the records come from. That does not imply a partnership with or endorsement by Okta. The records belong to the business that runs Okta Workforce Identity, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies