Dataset
Identity and access log datasets for AI training
An identity and access log dataset is the event record of an identity provider or directory: interactive and service sign-ins with application, device, network location, authentication method and policy result, account provisioning and deprovisioning events, group and role changes, and administrator edits to authentication policy. SourceX sources these logs to a buyer's spec from the identity teams of established businesses, who hold them in the provider's log store or a SIEM archive. Each dataset is de-identified and licensed for an agreed permitted use. Buyers should specify how user identifiers, IP addresses and locations are pseudonymized.
Dataset manifest
Sourced to your spec- What it is
- Sign-in, provisioning, group, role and policy-change events from one identity tenant, ordered per identity
- Typical systems
- Microsoft Entra ID, Okta, Active Directory, Ping Identity, Google Workspace, Cisco Duo, SIEM archives
- Typical history
- Specified by the buyer; native log retention is short, so long histories exist only where logs were streamed to a SIEM or storage
- Modality
- Structured event streams with nested policy, device and network objects
- Delivery formats
- Agreed per order; JSONL events in the provider's schema or a normalized one, Parquet for large streams, policy exports as JSON
- Preparation
- User, device and tenant identifiers pseudonymized consistently across streams; IP addresses tokenized after coarse network attributes are derived
- Licensing
- Rights reviewed per holder; check employee-monitoring and works-council rules where its staff work with counsel; permitted use set in the license
- Availability
- Sourced to your spec from holders who agree to license; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| event_id | string | Unique ID of the event, kept so that duplicates from overlapping exports can be removed. |
| event_time | timestamp | When the provider recorded the event, in UTC, with the ingestion time where the archive kept it. |
| event_category | enum | Interactive sign-in, non-interactive sign-in, service sign-in, provisioning, directory change or policy change. |
| identity_ref | string | Pseudonymized user, service account or workload identity, the same token in every stream of the delivery. |
| identity_attributes | object | Account type, department and job-family tokens, manager token and account state at the time of the event. |
| application | object | The application or resource requested, the client type and the protocol, such as SAML, OpenID Connect or a legacy protocol. |
| authentication | object | Methods presented, the MFA requirement and result, and the provider's error code and failure reason. |
| device | object | Pseudonymized device ID, platform, browser, and the management and compliance state the provider saw. |
| network | object | IP token, country and region, network operator token, and proxy, VPN or named-location flags. |
| policy_evaluation | array | Each access policy evaluated for the sign-in, its mode (enforced or report-only), the controls required and the result. |
| risk | object | The provider's risk level and detection types for the sign-in and the user, with any later dismissal or confirmation. |
| session_ref | string | Session or correlation ID that ties prompts, MFA challenges and token refreshes into one attempt. |
| actor | object | For changes, who or what made them: an administrator role, a provisioning service or an HR-driven sync. |
| change | object | For provisioning, group, role and policy events: the target, the operation and the old and new value of each property. |
Field names from the table above; values are masked placeholders.
Example record
[
{
"event_id": "evt_8ef0a312",
"event_time": "2024-09-16T21:05:40Z",
"event_category": "policy_change",
"session_ref": "corr_5a1b02",
"actor": {
"role": "conditional_access_admin",
"identity_ref": "adm_02"
},
"change": {
"target": "pol_compliant_device_crm",
"operation": "update",
"modified": [
{
"property": "state",
"old": "report_only",
"new": "enabled"
}
]
}
},
{
"event_id": "evt_8f2c1d77",
"event_time": "2024-09-17T07:42:09Z",
"event_category": "interactive_sign_in",
"identity_ref": "usr_4b19e0",
"identity_attributes": {
"account_type": "employee",
"department": "dept_14",
"job_family": "field_sales",
"manager": "usr_a0c377",
"account_enabled": true,
"days_since_created": 612
},
"application": {
"app": "app_crm",
"client_type": "mobile_app",
"protocol": "oidc",
"legacy_auth": false
},
"authentication": {
"methods": [
"password",
"authenticator_push"
],
"mfa_result": "satisfied",
"result": "failure",
"error": "blocked_by_access_policy"
},
"device": {
"device_ref": null,
"platform": "iOS",
"managed": false,
"compliant": null
},
"network": {
"ip_token": "ip_77d2a1",
"country": "US",
"region": "TX",
"asn_token": "asn_031",
"network_type": "mobile_carrier",
"named_location": null,
"anonymizer": false,
"km_from_prior_sign_in": 4
},
"policy_evaluation": [
{
"policy": "pol_require_mfa",
"mode": "enforced",
"controls": [
"mfa"
],
"result": "success"
},
{
"policy": "pol_compliant_device_crm",
"mode": "enforced",
"controls": [
"compliant_device"
],
"result": "failure",
"last_changed_by": "evt_8ef0a312"
}
],
"risk": {
"sign_in_level": "none",
"user_level": "none",
"detections": []
},
"session_ref": "corr_c90d14",
"actor": null,
"change": null
}
]Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Account takeover and login anomaly models
Per-identity sequences give each account a baseline of applications, devices and networks against which a new sign-in can be scored.
Joiner, mover and leaver automation
Provisioning and group events in order show which access follows a role, and which accounts and memberships outlived their owner.
Policy impact prediction
Policy edits followed by their measured effect train a model to estimate what a proposed rule would block before it is enforced.
Identity helpdesk agents
Failed sign-ins with error code and policy result are worked examples of explaining a lockout and naming the fix.
Evaluation with known outcomes
Risk flags later confirmed or dismissed, and policies rolled back, give test items whose answer the holder already recorded.
Use-case guides: Enterprise and computer-use agents, Private evaluation sets, Customer support agents
What makes this data valuable
Every sign-in category
Non-interactive and service sign-ins are exported separately on some providers and are often missing from archives.
One token per identity
The same pseudonym across sign-in, audit and provisioning streams, surviving renames, keeps sequences intact.
Policy results per event
Each sign-in lists the policies evaluated and their results, not only a final success or failure.
Old and new values
Change events that carry both values let a policy or group be rebuilt for any date.
Derived network attributes
Country, operator and anonymizer flags computed before IP masking keep location analysis possible.
Marked gaps
Days when the export pipeline dropped events are flagged, so silence is not read as inactivity.
Record timeline
Identity and access log
The sequence per identity is the record
Most of a sign-in log is repetition. One person opening a laptop produces one interactive sign-in and then a long run of non-interactive ones as mail, chat and sync clients refresh their tokens. Service accounts and workload identities authenticate around the clock. A single event says almost nothing, since a wrong password is ordinary. The meaning is in the order of events for one identity. An account is created by a feed from the HR system before the start date, group memberships follow from the job, then the first sign-in, MFA registration and a device enrollment. A transfer adds groups and rarely removes the old ones. A departure disables the account and revokes sessions, and sometimes leaves a service credential or a guest account behind.
Impossible travel is the same idea at short range: two sign-ins too far apart for the time between them. It is computed from IP geolocation, which is why it misfires on VPN egress points, mobile carrier gateways and cloud proxies, and why administrators dismiss some of the provider's risk flags. Those dismissals and confirmations are labels. Entra ID logs a token refresh by a server-side client with the IP address of the original sign-in, not of the request, so such rows say nothing about where the session is now.
De-identification can destroy all of this. A fresh token per row, or a user token that differs between the sign-in stream and the audit stream, leaves events with no sequence. Masking IP addresses without first deriving country, network operator and distance from the previous sign-in removes the travel signal. A join on user principal name breaks when a person is renamed, so the immutable object ID should carry the pseudonym. Specify a population of identities over a continuous window, with every event category, ordered by event time, not a sample of events.
Policy edits and their effects share one tenant and clock
An identity provider's audit log records each administrator edit to an authentication policy: an application added to scope, a compliant device required, legacy protocols blocked, a session lifetime shortened. Where the provider writes old and new values, it may list the changed properties or store the whole policy before and after, so check the sample. The sign-in log then lists, for each later sign-in, the policies evaluated and the result of each. Both logs come from one tenant, on one clock, with the same identifiers. A buyer can read the effect of a change directly: block rates by application and client type before and after, which accounts were locked out, the lockouts that followed, the exclusion group added days later, and any rollback.
Where the provider offers a report-only mode, as Entra ID Conditional Access does, the log holds something rarer. For a period the provider evaluates the policy at each sign-in and records the result without enforcing it. After the switch it records what happened. That is a prediction and an outcome for one policy on one population. The prediction has a blind spot: report-only never shows the MFA prompt, so a sign-in that would have been prompted is logged as needing user action, not as passed or failed.
Sign-in events name the policy and its result, not its definition on that day, so the version in force must be rebuilt from the chain of change events or from dated policy exports. Other things move in the same week, such as an application launch or a device enrollment campaign, and should be in the delivery. Policy detail also describes the holder's defenses, including which accounts are exempt from MFA. A holder may generalize that, and the few administrators who make these edits stay identifiable to colleagues even under pseudonyms.
What to check before licensing
- Confirm that user IDs, principal names, display names, email addresses and device names are pseudonymized, with one stable token per identity across the sign-in, audit and provisioning streams.
- Confirm that IP addresses and precise locations are replaced, and ask which derived attributes were kept and at what precision. A city can single out a remote worker.
- Ask the holder to confirm that employee-monitoring law, works-council or employee-representative agreements and staff privacy notices in each jurisdiction where its people work allow this use, and have counsel review the answer.
- Check which sign-in categories were exported and from what date. Service and non-interactive sign-ins often need their own export setting.
- Ask about the provider's native retention and the archive behind it, and scan the sample for days with no events.
- Check that policy and group changes carry old and new values, and that dated policy definitions for the period are included.
- Review semi-structured text such as application names, group names, domain suffixes and the username field on failed sign-ins, where people sometimes type a password.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Which identity systems can the logs come from?
They come from cloud identity providers such as Microsoft Entra ID, Okta, Ping Identity, Google Workspace and Cisco Duo, and from on-premises Active Directory. The shapes differ. Entra ID keeps sign-in, audit and provisioning logs apart, some providers write one event stream with a type on each entry, and Active Directory records Kerberos ticket events on each domain controller, with no single sign-in record. Say whether you want native schemas or a normalized one.
Can anomaly detection work on pseudonymized IP addresses and locations?
Yes, if the masking was designed for it. A stable token per IP address keeps reuse visible, and attributes derived before masking, such as country, region, network operator, anonymizer flag and distance from the previous sign-in, carry most of what a model uses. Per-event random tokens or dropped location fields do not. Test this on the sample.
Are malicious sign-ins labeled?
Mostly not. The provider's risk detections, and an administrator's later decision to confirm or dismiss them, are the labels most tenants have, and they are noisy. A confirmed compromise is recorded in an incident system, and only some holders can link it back to the sign-in events. Password spraying shows as failures across many identities from few networks. Expect a low base rate and few clean positives.
How is this different from access request and certification data?
It records what happened at authentication, not what people decided about entitlements. Governance records hold requests, approvals and periodic reviews of who should have access. Identity provider logs hold each sign-in, the policy applied to it and the directory changes that carried a decision out. The two join on the identity token when one holder supplies both, which shows whether approved access was ever used.
Do the logs contain passwords, tokens or secrets?
They are not meant to, but check. These logs are designed to record the event, not the credential. They do hold session and correlation IDs, token identifiers and device IDs, which should be replaced with tokens. The known leak is the username field on a failed sign-in, which can record whatever was typed there, including a password entered in the wrong box. Ask how that field was handled.
How much history and how many identities should I ask for?
Specify both by the sequences you need. Lifecycle modeling needs a window long enough to hold hires, transfers and departures for the same population. Policy impact needs the weeks before and after each change. Because native retention is short, older history exists only where the holder streamed logs to a SIEM or storage. Ask for the start date of each stream.
Related datasets
- Access requests and access review records
Role and entitlement requests with justification and approval steps, plus access review campaigns with a certify or revoke decision per item
- Security alerts and analyst investigations
SIEM, EDR and SOAR alerts with triggering events, the analyst's queries and notes, the verdict and the response
- Security incident response case records
Case files for confirmed security incidents, from declaration through the lessons-learned report
- Endpoint management and patching logs
Deployment jobs with per-device results, script runs with output, compliance evaluations and remote session records
- IT service management and incident histories
Incidents, problems, changes and requests with work notes, CI links and outcomes
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell 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 25 November 2026.