Authentication & sessions
Sign-ins, sign-outs, MFA, password and email changes, and session revocation. Install the pack from Actions & Schemas → Add standard events in the app. Standard events explains the conventions every action here follows.
| Action | Description |
|---|---|
user.signed_in | A user signed in. method: password, sso, magic_link, passkey or oauth. |
user.sign_in_failed | A sign-in attempt failed; say why in reason. |
user.signed_out | A user signed out. |
session.revoked | A session was ended by an admin, by policy, or from another device. |
user.mfa_enrolled | A user added a second factor. factor: totp, sms, webauthn or similar. |
user.mfa_removed | A second factor was removed from a user. |
user.password_changed | A user changed their password. |
user.password_reset_requested | A password reset link was requested. |
user.password_reset | A password was set through a reset link. |
user.email_changed | A user's email address changed; keep the old and new addresses in data. |
user.email_verified | A user verified their email address. |
user.locked_out | A user was locked out after repeated failures. |
user.signed_in
A user signed in. method: password, sso, magic_link, passkey or oauth.
| Field | Value |
|---|---|
| Targets | user, session |
| Required metadata | method |
| Optional metadata | mfa_method, sso_connection_id, source, reason, request_id |
| OCSF | Authentication (3002), activity_id 1 |
{
"event": "user.signed_in",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
{
"type": "session",
"id": "sess_01JA2W9P"
}
],
"metadata": {
"method": "password",
"mfa_method": "totp",
"sso_connection_id": "conn_01JA2OKTA"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"method": {
"type": "string"
},
"mfa_method": {
"type": "string"
},
"sso_connection_id": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"method"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.sign_in_failed
A sign-in attempt failed; say why in reason.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | method |
| Optional metadata | source, reason, request_id |
| OCSF | Authentication (3002), activity_id 1, status_id 2 (Failure) |
{
"event": "user.sign_in_failed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "anonymous"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {
"method": "password",
"reason": "invalid_password"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"method": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"method"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.signed_out
A user signed out.
| Field | Value |
|---|---|
| Targets | user, session |
| Required metadata | None |
| Optional metadata | source, reason, request_id |
| OCSF | Authentication (3002), activity_id 2 |
{
"event": "user.signed_out",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
{
"type": "session",
"id": "sess_01JA2W9P"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
session.revoked
A session was ended by an admin, by policy, or from another device.
| Field | Value |
|---|---|
| Targets | user, session |
| Required metadata | None |
| Optional metadata | source, reason, request_id |
| OCSF | Authentication (3002), activity_id 2 |
{
"event": "session.revoked",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
{
"type": "session",
"id": "sess_01JA2W9P"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.mfa_enrolled
A user added a second factor. factor: totp, sms, webauthn or similar.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | factor |
| Optional metadata | source, reason, request_id |
| OCSF | User Management (3007), activity_id 12 |
{
"event": "user.mfa_enrolled",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {
"factor": "totp"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"factor": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"factor"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.mfa_removed
A second factor was removed from a user.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | factor |
| Optional metadata | source, reason, request_id |
| OCSF | User Management (3007), activity_id 13 |
{
"event": "user.mfa_removed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {
"factor": "totp"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"factor": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"factor"
],
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.password_changed
A user changed their password.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | None |
| Optional metadata | source, reason, request_id |
| OCSF | User Management (3007), activity_id 8 |
{
"event": "user.password_changed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.password_reset_requested
A password reset link was requested.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | None |
| Optional metadata | source, reason, request_id |
| OCSF | User Management (3007), activity_id 99 |
{
"event": "user.password_reset_requested",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.password_reset
A password was set through a reset link.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | None |
| Optional metadata | source, reason, request_id |
| OCSF | User Management (3007), activity_id 9 |
{
"event": "user.password_reset",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.email_changed
A user's email address changed; keep the old and new addresses in data.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | None |
| Optional metadata | source, reason, request_id |
| OCSF | User Management (3007), activity_id 2 |
{
"event": "user.email_changed",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {},
"data": {
"previous_email": "smith@champion.example",
"email": "mike@acme.example"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.email_verified
A user verified their email address.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | None |
| Optional metadata | source, reason, request_id |
| OCSF | User Management (3007), activity_id 2 |
{
"event": "user.email_verified",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}
user.locked_out
A user was locked out after repeated failures.
| Field | Value |
|---|---|
| Targets | user |
| Required metadata | None |
| Optional metadata | lockout_until, source, reason, request_id |
| OCSF | User Management (3007), activity_id 6 |
{
"event": "user.locked_out",
"trail": "security",
"organization_id": "org_acme",
"created_at": "2026-10-06T14:03:11.482Z",
"actor": {
"type": "system",
"id": "svc_scheduler",
"name": "Scheduler"
},
"targets": [
{
"type": "user",
"id": "usr_01JA2MIKE",
"name": "Valentine Michael Smith"
}
],
"metadata": {
"lockout_until": "2026-10-06T14:33:11Z"
}
}
Schema (installed as v1)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"lockout_until": {
"type": "string"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"actor": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"on_behalf_of_type": {
"type": "string"
},
"on_behalf_of_id": {
"type": "string"
}
},
"dependentRequired": {
"on_behalf_of_type": [
"on_behalf_of_id"
],
"on_behalf_of_id": [
"on_behalf_of_type"
]
},
"additionalProperties": {
"type": "string"
}
}
}
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}
}