Engineering guide · Security

Identity Threat Platform

Status: currentReviewed: 2026-07-24Audience: security platform engineers, API developers, risk integrators, session engineers
On this pageITP Breadth MatrixImplemented BoundaryArchitectureSecurity Events Provider APIUser Risk And Detection APINamed detection catalog and active bindingsBehavior Detection Rule APIOutbound SSF Transmitter APIEntity Risk Policy And Automated ResponseContinuous Session ProtectionDetection conditionsResponse actionsContext sources and privacySimulation authentication resultITP Operational ReportsITP Observability And InvestigationEntity-risk widgetSession-protection widgetTime-series semanticsInvestigation exampleProvider Trust ModesSSF well-known configurationExplicit issuer and JWKSOffline public-key reference

Atlas treats identity threat protection as a platform, not as a synonym for IP reputation. The narrow Threat Intelligence And Reputation API corresponds to the Okta ThreatInsight configuration surface. The broader platform includes external signal providers, user and entity risk, behavior detections, continuous session context, policy evaluation, response orchestration, outgoing shared signals, and correlated security telemetry.

Those capabilities must not be collapsed into one parity claim. The repository parity ledger tracks them independently.

ITP Breadth Matrix

The matrix is the developer-facing boundary for the whole platform. Implemented means a stable API, tenant-safe durable model, authorization boundary, real tests, and a Docker-tagged persistence test exist. It does not mean an external partner or production deployment has been validated.

Pillar State Atlas boundary

Reputation and pre-authentication threat blocking

Implemented

Threat configuration, certificate-bound observations, independent-source quorum, Network Zone exclusions, deterministic evaluation, and sign-in enforcement

Inbound security-event provider trust

Implemented

Provider lifecycle, SSF discovery, issuer/JWKS or offline key references, asymmetric SET validation, replay protection, and evidence

User risk and analyst feedback

Implemented

Current posture, administrator override, normalized named-detection catalog, first-party correlation, immutable detections, monotonic elevation, subject self-report, and true/false-positive feedback

Entity-risk policy and response

Implemented

Ordered ENTITY_RISK rules, simulation, two-person activation, monitoring, session clearing, Universal Logout, and signed flows

Continuous session violation detection

Implemented

SESSION_VIOLATION_DETECTION, IP/device/assurance/risk/behavior changes, thresholds, groups, Network Zones, authentication-policy re-evaluation, and user.session.context.change evidence

Post-authentication session response

Implemented

POST_AUTH_SESSION, monitor/enforce, real MFA step-up state, exact-session termination, Universal Logout, signed workflows, and violation-only policy.auth_reevaluate.fail correlation

Behavior signal scoring

Implemented

Authoritative observations, named location/device/IP/velocity/ASN rules, lifecycle evidence, runtime matching, model evidence contracts, confidence/coverage gates, hysteresis, and revocation circuit breakers

Outbound shared-signal transmission

Implemented

Public SSF metadata and JWKS, encrypted receiver configuration, stream status, privacy-hashed explicit subjects, verification, signed CAEP delivery, and immutable delivery evidence

RISC taxonomy

Implemented

The finalized OpenID RISC account, credential, identifier, recovery, opt-state, and sessions-revoked event family is accepted through signed SETs and normalized into evidence or entity-risk detections

Operations and reporting

Implemented

Dedicated reports plus 24-hour or 7-day dashboard trends, source/detection/rule/action aggregates, privacy-safe application attribution, exact event query, and correlated per-user investigation

This table is intentionally more demanding than a route-count comparison. A scoring endpoint, audit log, or logout function does not close a policy, signal, reporting, or management pillar by implication.

Implemented Boundary

The current Atlas boundary includes:

  • tenant-scoped ThreatInsight-compatible none, audit, and block configuration;

  • certificate-bound reputation observations with source quorum and Network Zone exclusions;

  • pre-authentication reputation enforcement;

  • an SSF/CAEP Security Event Token receiver;

  • full Security Events Provider management lifecycle;

  • SSF well-known and explicit issuer/JWKS trust discovery;

  • an offline Vault, KMS, or PKCS#11 public-key-reference mode;

  • CAEP session-revoked, credential-change, assurance-level-change, device-compliance-change, and risk-level-change normalization;

  • Okta user-risk-change and the complete finalized OpenID RISC partner-event taxonomy;

  • exact tenant-scoped email, username, opaque ID, or session-to-user resolution;

  • an Okta-friendly current user-risk read/upsert API with custom reasons;

  • a stable named-detection catalog spanning the documented identity-threat detection families;

  • direct correlation from Threat Intelligence, authoritative behavior scoring, session-policy violations, authenticated subject reports, administrator changes, and verified security providers;

  • append-only risk detection history and true-positive or false-positive analyst feedback;

  • monotonic provider risk: a provider can raise but never lower current user risk;

  • one immutable tenant ENTITY_RISK system policy with ordered first-match rules;

  • group, detection, risk-level, monitor/enforce, clear-session, Universal Logout, and delegated-workflow rule semantics;

  • draft-first management, simulation, independent two-person activation, optimistic concurrency, and archival tombstones;

  • durable decisions committed before response execution;

  • immutable tenant SESSION_VIOLATION_DETECTION and POST_AUTH_SESSION system policies;

  • ordered, risk-threshold, change-type, group, and Network Zone session rules;

  • IP, device, assurance, risk, and behavior context-change normalization;

  • ANY, IN_ZONES, and NOT_IN_ZONES session detection scopes;

  • continuous evaluation of authenticated request context and verified CAEP/SSF session signals;

  • live re-evaluation of global session MFA policy, managed Atlas authentication policy, and application sign-on assurance where an application resource is known;

  • monitoring or enforced step-up, exact-session termination, Universal Logout, and signed workflow response;

  • privacy-minimized session decisions that persist hashes rather than raw session IDs, IP addresses, or device identifiers;

  • evidence-bound session-violation, entity-risk, and at-risk-user reports under a dedicated risk.reports.read capability;

  • 24-hour and 7-day ITP dashboards with entity-risk and session-protection operating status, time series, current posture, and bounded aggregate counts;

  • an exact-filter ITP event API and a per-user investigation API joining detections, policy decisions, remediation evidence, analyst feedback, and trace events;

  • tenant-salted, domain-separated application attribution that supports an applications-with-violations view without persisting or returning raw resource identifiers;

  • one evidence-bearing trace identifier across provider receipt, user-risk detection, risk-profile changes, entity-policy evaluation and response, session behavior or revocation, and analyst feedback;

  • session invalidation or behavior observation after verified SET ingestion;

  • Okta-friendly behavior-rule CRUD for location, device, IP, velocity, and ASN, with independent activation and runtime matching;

  • outbound SSF discovery, stream, status, subject, verification, JWKS, delivery-history, session-revoked, and credential-change capabilities;

  • hashed JTI replay protection;

  • append-only provider lifecycle evidence;

  • universal logout and response-playbook components.

Session-oriented CAEP events still require a resolvable session before they can change session state. Partner risk events do not. They resolve the nested SSF user subject strictly inside the SET’s tenant boundary. An unknown user is ignored for posture purposes, but Atlas retains a privacy-minimized subject_unresolved trace event so operators can distinguish an invalid subject from an ingestion outage. Atlas never performs cross-tenant or fuzzy identity matching.

Architecture

fresh AAL2 provider management
        |
        v
provider settings + version + evidence head
        |
        +--> SSF well-known --> pinned public HTTPS fetch --> issuer + JWKS
        |
        +--> issuer + JWKS --> pinned public HTTPS fetch --> asymmetric keys
        |
        +--> issuer + key reference --> Vault/KMS/PKCS#11 resolver
        |
        v
signed SET ingress (no browser credential substitution)
        |
        v
typ + alg + kid + signature + iss + aud + iat + exp + event + subject
        |
        v
hashed JTI reservation --> session/risk consumer --> durable replay decision
        |
        +--> every accepted event: provider receive trace
        |
        +--> user risk / RISC: exact tenant subject resolution
        |       |
        |       +--> risk detection --> monotonic posture elevation
        |       |
        |       +--> immutable history + analyst feedback
        |       |
        |       +--> ordered ENTITY_RISK rules
        |               |
        |               +--> MONITOR: durable decision, no action
        |               |
        |               +--> ENFORCE: clear sessions / universal logout
        |               |              / signed delegated flow
        |               |
        |               +--> response reference + evidence on same trace
        |
        +--> session revoked: invalidate session
        |
        +--> other allowed CAEP event
                |
                +--> normalized session context change
                |       |
                |       +--> SESSION_VIOLATION_DETECTION selects re-evaluation
                |       |
                |       +--> global session / managed authn /
                |       |    application sign-on assurance policy
                |       |       |
                |       |       +--> ALLOW: observed, not a violation
                |       |       |
                |       |       +--> DENY or unmet MFA: violation
                |       |
                |       +--> POST_AUTH_SESSION (violations only)
                |               |
                |               +--> MONITOR: evidence only
                |               |
                |               +--> ENFORCE: step up / terminate /
                |                    universal logout / signed flow
                |
                +--> normalized behavior observation

first-party Atlas evidence
        |
        +--> threat-intelligence authentication decision
        +--> authoritative behavior-model anomaly
        +--> continuous-session policy violation
        +--> authenticated subject "this was not me" report
        +--> administrator risk report
        |
        v
named detection catalog --> immutable detection --> monotonic user risk
        |
        +--> ENTITY_RISK policy (except an already handled session violation)

authenticated Atlas request
        |
        +--> trusted-proxy client resolution + Network Zone evaluation
        |
        +--> compare IP/device/AAL with authoritative session baseline
                |
                +--> same two-stage session policy and evidence path

Management authentication and signal authentication are deliberately different. Provider management uses the normal bearer-token authorization boundary with fresh AAL2 and icam.signals.read or icam.signals.manage. SET ingress authenticates the transmitter through the configured asymmetric signature, issuer, audience, and replay state. A browser bearer token cannot substitute for a valid SET.

Security Events Provider API

Atlas implements the current Okta SSF receiver provider model at /api/v1/security-events-providers. Atlas adds concurrency, replay, evidence, and offline-key controls without removing the familiar provider fields.

Method Route Behavior

GET, POST

/api/v1/security-events-providers

List providers or create and validate an active provider

GET, PUT, DELETE

/api/v1/security-events-providers/{securityEventProviderId}

Retrieve, completely replace, or irreversibly soft-delete a provider

POST

/api/v1/security-events-providers/{securityEventProviderId}/lifecycle/activate

Revalidate trust and resume SET acceptance

POST

/api/v1/security-events-providers/{securityEventProviderId}/lifecycle/deactivate

Immediately stop SET acceptance without contacting the transmitter

GET

/api/v1/security-events-providers/{securityEventProviderId}/evidence

Verify and return the append-only lifecycle chain

POST

/api/v1/shared-signals/{tenantId}/{securityEventProviderId}/events

Accept one signed SET using application/secevent+jwt

POST

/security/api/v1/security-events

Okta-compatible ingress; resolve the tenant from the request domain and the provider from issuer plus audience, then return an empty 202

The original /api/v1/icam/shared-signal-streams create/list route remains a compatibility alias for Atlas clients. New integrations should use the Security Events Provider API and /security/api/v1/security-events. The explicit tenant/provider ingress remains available for Atlas-native and diagnostic clients.

Every mutation requires an Idempotency-Key header from 16 through 200 characters. Mutation of an existing provider also requires If-Match with the version from the response ETag. X-Atlas-Change-Reason is optional; supplying a meaningful operator reason is recommended. Atlas stores only domain-separated hashes of the idempotency key and reason.

An exact same-actor and same-request retry returns the original representation and Idempotent-Replayed: true. Reusing a key for a different actor or request returns 409.

User Risk And Detection API

Atlas implements the familiar /api/v1/users/{userId}/risk resource and adds evidence-oriented subresources.

Method Route Behavior

GET

/api/v1/users/{userId}/risk

Return NONE, LOW, MEDIUM, or HIGH, the reason, ETag version, originating trace, and evidence head

PUT

/api/v1/users/{userId}/risk

Upsert risk with riskLevel and optional riskReason

GET

/api/v1/users/{userId}/risk/history

Return immutable provider and administrator detections

POST

/api/v1/users/{userId}/risk/detections/{detectionId}/feedback

Record true_positive or false_positive analyst feedback without silently changing posture

GET

/api/v1/identity-threats/traces/{traceId}

Return the ordered cross-subsystem threat trace

GET

/api/v1/identity-threats/detections/catalog

Return the normalized, policy-eligible detection definitions and their signal-source families

POST

/api/v1/me/security-events/report

Let the authenticated subject report an authentication, session, or application-access event as THIS_WAS_NOT_ME or UNRECOGNIZED_ACTIVITY

All routes require tenant-scoped risk.users.read or risk.users.manage. Mutations require fresh AAL2 and a 16-through-200-character Idempotency-Key. Once a risk profile exists, PUT also requires If-Match with its current ETag. Atlas binds replays to the actor and canonical request and persists only a domain-separated key digest.

Provider and first-party signals follow a stricter rule than administrator mutations. A verified provider or Atlas detector may elevate the current posture but cannot lower it. An administrator may lower posture through the management API, but the action creates a new version, an administrator detection, and linked evidence.

{
  "riskLevel": "HIGH",
  "riskReason": "confirmed.credential.compromise"
}

Okta-compatible response fields remain riskLevel, reason, and _links. Atlas extensions include version, traceId, updatedAt, and evidenceHead.

Named detection catalog and active bindings

Atlas normalizes the documented identity-threat detections into stable identifiers instead of coupling policy to prose returned by one model or partner. Every catalog entry has a default risk level, Atlas event type, source families, MITRE context where applicable, and an explicit policyEligible marker.

Detection identifier Default Active Atlas binding

breached_credential

HIGH

Authoritative behavior or credential-intelligence anomaly named breached_credential or credential_compromise

critical_action_high_threat_ip

HIGH

Authoritative behavior correlation that binds a critical-action anomaly to threat evidence

threat_actor_infrastructure

HIGH

Authentication from independently sourced botnet, malware, or anonymizer infrastructure; also accepted from the authoritative behavior correlator

device_phishing_signal

HIGH

Authoritative phishing, device-phishing, or FastPass-equivalent device anomaly

credential_attack_ip

HIGH

Successful authentication from an IP matching the tenant’s certificate-bound, quorum-evaluated credential_attack observations

user_reported_fraud

HIGH

Authenticated self-service security-event report scoped to the caller’s own subject

session_influenced_user_risk

MEDIUM

An actual continuous-session violation after live authentication-policy re-evaluation; an allowed context change does not create this detection

suspected_brute_force

MEDIUM

Authoritative credential_spray or brute_force behavior anomaly

suspicious_app_access

MEDIUM

Authoritative suspicious-application or session-cookie access anomaly

valid_sprayed_password

MEDIUM

Authoritative valid-password spray correlation

administrator_reported_risk

LOW

Fresh-AAL2, capability-scoped user-risk management mutation

security_provider_reported_risk

LOW

Verified SSF/CAEP, Okta user-risk, or finalized RISC event; the event-specific normalized level can be higher

behavior_model_anomaly

MEDIUM

Atlas extension for an authoritative model finding that does not alias a vendor-compatible category

Only gateway-owned observations can set the authoritative bit consumed by the behavior correlator. The browser behavior lab cannot manufacture it. Model findings require both response confidence and anomaly confidence of at least 0.75; lower-confidence findings remain observable trust evidence but do not become durable user risk. Threat-intelligence correlation uses the already quorum-checked decision hash and never persists the source IP.

First-party ingestion requires a canonical catalog identifier, a unique source event identifier, a source identity, and a 32-byte SHA-256 evidence binding. The detection identifier and trace are deterministic. An exact retry returns the original detection; reusing the same authoritative event with different evidence returns 409. The detection and any monotonic risk elevation commit atomically. Every detection record returns catalogId. PostgreSQL derives that column from the immutable event type, so old and new records cannot drift from the published taxonomy.

The self-report route accepts no target user identifier, so a subject cannot raise another user’s risk. It requires an authenticated session, a 16-through-200-character Idempotency-Key, a bounded event identifier, and a closed event/reason vocabulary. Atlas uses a domain-separated idempotency digest; the raw key is never stored. Threat-intelligence, behavior, self-report, administrator, and provider detections enter ENTITY_RISK evaluation. A session-influenced detection does not dispatch a second entity response because the originating POST_AUTH_SESSION decision already owns response execution.

GET /api/v1/identity-threats/detections/catalog HTTP/1.1
Authorization: Bearer <fresh-AAL2-token>
Accept: application/json
{
  "items": [
    {
      "id": "credential_attack_ip",
      "name": "Suspicious Login from Credential Attack IP",
      "defaultRisk": "HIGH",
      "signalSources": [
        "Threat Intelligence",
        "authentication telemetry"
      ],
      "mitreTactics": ["Credential Access"],
      "mitreTechniques": ["Brute Force"],
      "eventType": "atlas.user.risk.credential_attack_ip",
      "policyEligible": true
    }
  ],
  "total": 13
}
POST /api/v1/me/security-events/report HTTP/1.1
Authorization: Bearer <subject-token>
Content-Type: application/json
Idempotency-Key: 44e36d84-48bb-451c-9924-20b88ebcd2a1

{
  "eventId": "authentication:01K136T3M6N7P2",
  "eventType": "AUTHENTICATION",
  "reason": "THIS_WAS_NOT_ME",
  "occurredAt": "2026-07-24T16:38:12Z"
}

A successful report returns 202 Accepted, its trace and immutable detection, and whether the current profile was raised. An exact retry also returns 202 with Idempotent-Replayed: true. Changing the body while reusing the key returns 409.

Behavior Detection Rule API

Atlas exposes Okta-friendly behavior management at /api/v1/behaviors. It implements every documented behavior family: anomalous location (CITY, STATE, COUNTRY, or radius-based GEO_LOCATION), device, IP address, velocity, and ASN. Rules are matched against the authoritative session observation state and feed the risk and authentication-policy layer; a behavior rule never denies access directly.

Method Route Behavior

GET, POST

/api/v1/behaviors

List tenant rules or create an idempotent inactive proposal

GET, PUT, DELETE

/api/v1/behaviors/{behaviorId}

Read, replace an inactive rule under If-Match, or soft-delete an inactive rule

POST

/api/v1/behaviors/{behaviorId}/lifecycle

Activate with an independent fresh-AAL2 approver, or deactivate immediately

GET

/api/v1/behaviors/{behaviorId}/evidence

Return the append-only lifecycle evidence chain

risk.behaviors.read and risk.behaviors.manage are separate capabilities. Creation and every lifecycle change use a 16-through-200-character Idempotency-Key. Activation requires a different operator than the proposer. Updates require an exact ETag. PostgreSQL permits only the five known types and valid statuses, and lifecycle events cannot be updated or deleted.

Location history, device history, IP history, and ASN history remain in bounded session observation state. IP observations are represented by domain-separated hashes. Rule configuration contains thresholds only and never contains a user’s behavioral history.

Outbound SSF Transmitter API

Atlas is both an SSF receiver and transmitter. The transmitter uses a protocol-specific P-384 key derived independently from Universal Logout and authorization-policy signing keys. Receiver authorization headers are encrypted with Vault Transit in durable deployments and are write-only at the API. Stream creation is inactive-first, and enabling transmission requires a different fresh-AAL2 operator from the last configuration actor.

Method Route Behavior

GET

/.well-known/ssf-configuration

Discover issuer, configuration, verification, JWKS, delivery methods, subject default, and supported events

GET

/api/v1/ssf/jwks

Retrieve the public ES384 SET verification key

GET, POST, DELETE

/api/v1/ssf/stream

List or retrieve streams, create a disabled proposal for one stream per receiver client, or delete a disabled stream

GET, PUT

/api/v1/ssf/stream/status

Read, enable, or disable delivery

POST

/api/v1/ssf/stream/verification

Transmit a signed secevent+jwt verification event and persist its disposition

GET, POST, DELETE

/api/v1/ssf/stream/subjects

Manage an explicit NONE-mode allowlist while the stream is disabled; only subject hashes are stored or returned

GET

/api/v1/ssf/stream/deliveries

Return privacy-minimized delivery evidence without SETs, raw JTIs, or authorization headers

Atlas supports push and RFC 8935 delivery identifiers, iss_sub subjects, the complete inbound CAEP/RISC allowlist, and actual outbound session-revoked and credential-change events. Session-protection termination and successful self-service password changes call the transmitter after the authoritative Atlas mutation. The security action is not rolled back if a receiver is unavailable; the failed delivery is terminally recorded for investigation and controlled retry work.

Every endpoint must be public HTTPS. Atlas rejects URL credentials, fragments, redirects, private or loopback literal addresses, and any DNS resolution containing a private, loopback, link-local, unspecified, or multicast address. Requests have bounded connection, response-header, total, and response-body limits.

Entity Risk Policy And Automated Response

Atlas exposes the familiar system-policy discovery shape at:

  • GET /api/v1/policies?type=ENTITY_RISK

  • GET|POST /api/v1/policies/{policyId}/rules

  • GET|PUT|DELETE /api/v1/policies/{policyId}/rules/{ruleId}

The deeper native surface is rooted at /api/v1/identity-threats/entity-risk-policy. It adds lifecycle, simulation, and durable-decision APIs.

Method Route Behavior

GET

/api/v1/identity-threats/entity-risk-policy

Return the immutable tenant system policy

GET, POST

/api/v1/identity-threats/entity-risk-policy/rules

List exact evaluation order or propose an idempotent draft

GET, PUT, DELETE

/api/v1/identity-threats/entity-risk-policy/rules/{ruleId}

Read, replace an inactive draft, or archive an inactive rule as a tombstone

POST

/api/v1/identity-threats/entity-risk-policy/rules/{ruleId}/lifecycle

Activate, deactivate, or archive with If-Match and an idempotency key

POST

/api/v1/identity-threats/entity-risk-policy/simulate

Resolve current directory groups and evaluate without persistence or action

GET

/api/v1/identity-threats/entity-risk-policy/decisions

List durable evaluations and response dispositions

Rules use ascending priority and stop at the first match. Tenant rules use priorities 1 through 98. Priority 99 is a locked MONITOR plus NO_ACTION catch-all, so every detection has an explainable disposition even before an administrator configures response.

Conditions can include or exclude exact tenant directory group IDs and exact detection names and can select LOW, MEDIUM, or HIGH. Actions are NO_ACTION, CLEAR_USER_SESSIONS, UNIVERSAL_LOGOUT, or RUN_WORKFLOW. Universal Logout uses its durable connector jobs and downstream idempotency. Workflow actions invoke an active signed Atlas flow as the allowlisted atlas-entity-risk-engine delegated actor. Variables are limited to user ID, trace ID, detection ID and name, and risk level; policy input never supplies secrets or connection credentials.

Creating or replacing a rule always produces DRAFT. Activation requires a different fresh-AAL2 operator than the proposer. Deactivation is intentionally immediate because stopping a bad response rule is a containment action. Archived rules cannot be restored or deleted. All management uses risk.policies.read or risk.policies.manage.

MONITOR rules commit the same decision and trace evidence as enforced rules without dispatching an action. For ENFORCE, Atlas commits PENDING before the external effect. The action uses the decision ID as its downstream idempotency binding and then commits SUCCEEDED or FAILED. A successful rule may lower risk to LOW only when explicitly configured; a concurrent higher-risk mutation wins and prevents the lowering.

{
  "name": "Confirmed compromise containment",
  "priority": 10,
  "mode": "ENFORCE",
  "conditions": {
    "includeGroupIds": ["01f88f54-2c9a-4e06-b79f-c64268d2772b"],
    "includeDetections": ["Partner Reported User Risk"],
    "riskLevels": ["HIGH"]
  },
  "action": {
    "type": "UNIVERSAL_LOGOUT",
    "logoutConnectorIds": [],
    "lowerRiskOnSuccess": true
  }
}

Create the draft with Idempotency-Key. The independent approver then sends:

{
  "action": "activate",
  "reason": "Reviewed simulation and approved containment"
}

to the rule’s /lifecycle endpoint with the draft ETag in If-Match and a new Idempotency-Key.

Continuous Session Protection

Atlas implements the two policy families separately and preserves the distinction between a context change and a policy violation:

  • SESSION_VIOLATION_DETECTION decides whether an observed context transition requires authentication-policy re-evaluation.

  • the global session policy, an active managed AUTHENTICATION_POLICY, and the known application’s sign-on assurance requirement are re-evaluated against the session’s current AAL;

  • ALLOW is evidence-bearing but is not a violation; only DENY or MFA_REQUIRED becomes policy.auth_reevaluate.fail;

  • POST_AUTH_SESSION decides whether a violation is monitored or answered.

Discover the Okta-friendly system policies with:

  • GET /api/v1/policies?type=SESSION_VIOLATION_DETECTION

  • GET /api/v1/policies?type=POST_AUTH_SESSION

Their GET|POST /api/v1/policies/{policyId}/rules and GET|PUT|DELETE /api/v1/policies/{policyId}/rules/{ruleId} resources use the same client-friendly policy paths as ENTITY_RISK. Atlas-native lifecycle, simulation, and decision resources are rooted at /api/v1/identity-threats/session-protection.

Method Route Behavior

GET

/api/v1/identity-threats/session-protection

List both immutable tenant system policies

GET

/api/v1/identity-threats/session-protection/policies/{policyType}

Read one SESSION_VIOLATION_DETECTION or POST_AUTH_SESSION policy

GET, POST

/api/v1/identity-threats/session-protection/policies/{policyType}/rules

List exact rule order or propose an idempotent draft

GET, PUT, DELETE

/api/v1/identity-threats/session-protection/policies/{policyType}/rules/{ruleId}

Read, replace an inactive rule, or archive it as an immutable tombstone

POST

/api/v1/identity-threats/session-protection/policies/{policyType}/rules/{ruleId}/lifecycle

Activate, deactivate, or archive under If-Match

POST

/api/v1/identity-threats/session-protection/simulate

Evaluate detection, an explicit or live authentication-policy result, and post-authentication response without persistence or action

GET

/api/v1/identity-threats/session-protection/decisions

List durable detection, enforcement, and response dispositions

Detection conditions

Rules are evaluated in ascending priority. Tenant rules occupy 1 through 98. Each policy has a locked priority-99 high-risk monitoring catch-all.

A rule can select:

  • LOW, MEDIUM, or HIGH as the minimum risk threshold;

  • IP_CHANGE, DEVICE_CHANGE, ASSURANCE_LEVEL_CHANGE, RISK_LEVEL_CHANGE, or BEHAVIOR_ANOMALY;

  • exact included or excluded Universal Directory group UUIDs;

  • ANY, IN_ZONES, or NOT_IN_ZONES IP handling;

  • exact active Network Zone UUIDs for the two zone-selective modes.

Network Zone references are validated at proposal time. Only active policy zones are eligible. Blocklist and trusted-proxy zones remain enforcement boundaries and cannot be smuggled into a session rule as selectable attributes.

Atlas derives a conservative risk when an authenticated local transition does not carry an upstream risk assertion. An IP transition is at least MEDIUM. A device, assurance, or behavior transition is HIGH. Verified signed signals may supply their already-validated risk classification.

Response actions

A POST_AUTH_SESSION rule uses MONITOR or ENFORCE. An enforced rule can combine:

  • requireStepUp: set server-side step-up state consumed by the real MFA flow;

  • terminateSession: denylist and invalidate the exact Atlas session;

  • universalLogout: execute durable Atlas and downstream connector logout;

  • workflowId: invoke an active signed flow as atlas-session-protection;

  • logoutConnectorIds: constrain Universal Logout to canonical connector UUIDs.

The response snapshot is part of the immutable decision. For an actual violation, Atlas commits PENDING and appends policy.auth_reevaluate.fail before dispatch. An allowed re-evaluation uses the Atlas extension atlas.policy.auth_reevaluate.allow; it never masquerades as a failure. Atlas then records SUCCEEDED, FAILED, MONITORED, or NO_ACTION. policy.auth_reevaluate.action is emitted only when a response is attempted; monitoring and allowed outcomes use atlas.policy.auth_reevaluate.no_action. The decision ID is the downstream idempotency binding.

A step-up marker is stored only in authoritative encrypted session state. Every subsequent protected REST request fails with stepUpRequired: true until the user completes the existing MFA step-up flow. Successful step-up rotates the tokens, raises assurance, and clears the marker. An exact or universal termination returns an authentication failure and the old access and refresh JTIs are denied.

Continuity and break-glass sessions cannot be automatically terminated by this engine. They can be required to step up, but a destructive response becomes a failed decision requiring manual handling. This availability guard prevents a compromised policy from silently removing every recovery path.

Context sources and privacy

The request path runs inside bearer authentication. Atlas resolves the client through the trusted-proxy Network Zone boundary, evaluates policy-zone membership, and compares IP, opaque browser ID, and AAL with the authoritative session baseline. The baseline advances only after monitoring or no-action evidence commits.

Signed CAEP/SSF credential, assurance, device-compliance, and risk changes enter the same policy engine before behavior scoring. The SET signature, issuer, audience, lifetime, event allowlist, subject, and JTI have already passed the provider boundary. The signal cannot name an arbitrary tenant session.

The durable decision stores:

  • a domain-separated session hash;

  • previous and current context hashes;

  • canonical change types and Network Zone UUIDs;

  • exact policy and rule versions;

  • whether re-evaluation was required, its ALLOW, DENY, or MFA_REQUIRED outcome, required AAL, and bounded authentication-policy references;

  • the action snapshot, status, references, and evidence hashes.

It does not store the raw session ID, IP address, browser/device identifier, SET, or idempotency key. Trace details follow the same privacy rule.

{
  "name": "Require step-up for changed devices",
  "priority": 10,
  "mode": "ENFORCE",
  "conditions": {
    "riskThreshold": "HIGH",
    "changeTypes": ["DEVICE_CHANGE"],
    "ipMode": "NOT_IN_ZONES",
    "networkZoneIds": ["0d2dfdbc-9fe0-44da-a463-8069867bbca4"],
    "includeGroupIds": [],
    "excludeGroupIds": []
  },
  "action": {
    "requireStepUp": true,
    "terminateSession": false,
    "universalLogout": false,
    "logoutConnectorIds": []
  }
}

Creating or replacing a rule produces DRAFT. Activation requires a different fresh-AAL2 operator. Immediate deactivation remains available as containment. Management uses risk.policies.read and risk.policies.manage.

Simulation authentication result

A simulation can supply a reevaluation object so developers can test both the allowed and violation branches deterministically:

{
  "userId": "00u123",
  "sessionId": "simulation-session-0001",
  "previousDeviceId": "browser-a",
  "currentDeviceId": "browser-b",
  "reevaluation": {
    "outcome": "MFA_REQUIRED",
    "requiredAal": 3,
    "policyRefs": ["global-session:high-assurance"],
    "reasons": ["A fresh phishing-resistant factor is required"]
  }
}

The override is accepted only on the side-effect-free simulation boundary. If omitted, Atlas invokes the live re-evaluator. MFA_REQUIRED requires AAL2 or AAL3. The engine rejects unknown outcomes, overlong references, and inconsistent results.

ITP Operational Reports

Atlas provides the three operator views needed to investigate continuous protection without scraping generic logs. All report routes require fresh AAL2 and the dedicated risk.reports.read capability. Responses use Cache-Control: no-store, stay inside the authenticated tenant, and include an evidenceHash over the generated snapshot.

Method Route Contents

GET

/api/v1/identity-threats/reports/session-violations

Context evaluations, authentication-policy re-evaluations, allowed outcomes, actual violations, monitored outcomes, remediations, and failures

GET

/api/v1/identity-threats/reports/entity-risk

Entity-risk decisions joined to immutable detections, response dispositions, and source counts

GET

/api/v1/identity-threats/reports/at-risk-users

Current LOW, MEDIUM, and HIGH user posture with the newest immutable detection for each subject

Each route accepts limit from 1 through 500 and defaults to 100. Session reports expose only the already privacy-minimized decision: session and context hashes replace the raw session ID, IP address, and device identifier. Entity reports join by tenant, user, and immutable detection UUID. At-risk reports exclude NONE posture and never perform fuzzy or cross-tenant subject resolution.

ITP Observability And Investigation

Okta documents separate 24-hour and 7-day Identity Threat Protection views for entity risk and session protection, an entity-risk report, per-user risk history, and System Log event types. Atlas implements those investigation needs as explicit APIs backed by the same immutable evidence used for enforcement:

Method Route Contents

GET

/api/v1/identity-threats/dashboard?window=24h|7d

Entity detections and evaluations, unique subjects, high-risk detections, sources, stable detection IDs, rule/action counts, response outcomes, current risk, continuous-session status, violations, application hashes, remediation counts, and hourly or daily buckets

GET

/api/v1/identity-threats/events?window=24h|7d&eventType=…​&userId=…​&limit=…​

Newest-first immutable ITP trace events, optionally filtered by one exact event type and one canonically resolved tenant user

GET

/api/v1/users/{userId}/risk/investigation?window=24h|7d&limit=…​

Current posture plus named detections, entity-risk decisions, session decisions, analyst feedback, response references and evidence, and ordered trace events for one tenant user

All three routes require fresh AAL2. The dashboard and event query require risk.reports.read; the subject investigation requires risk.users.read. Responses set Cache-Control: no-store, include from, to, window, a deterministic evidenceHash, and an explicit truncated flag. The dashboard reads at most 10,001 rows from each authoritative evidence family, aggregates at most 10,000, and reports truncation instead of implying completeness. Event and investigation collections accept limit from 1 through 500. There is no unbounded export disguised as a dashboard request.

The event endpoint is the ITP-specific operational stream, not a replacement for Atlas’s general audit API. It queries the append-only identity-threat trace store, so the event type, actor, provider, outcome, user, risk level, timestamp, previous evidence hash, and current evidence hash remain together. eventType is an exact match rather than a user-supplied SQL or expression fragment. userId may be an opaque ID, username, or email at the gateway; Atlas resolves it to one canonical tenant user before the store query. An unresolved subject returns 404 and never broadens the query.

Entity-risk widget

The entity-risk widget provides:

  • detection and policy-evaluation totals;

  • unique affected users and HIGH detection count;

  • counts by verified provider or first-party source;

  • counts by stable detection catalogId;

  • counts by immutable policy rule UUID and snapshotted action;

  • monitored, remediated, and failed response outcomes;

  • successful clear-session, Universal Logout, and signed-workflow counts;

  • the current LOW, MEDIUM, and HIGH population.

Counts are derived from detections and durable policy decisions, not from transient handler success. A response counts as remediated only when the terminal decision is SUCCEEDED. The per-user investigation retains the exact matched rule, rule version, action snapshot, response reference, response evidence, and failure code needed to explain that aggregate.

Session-protection widget

The session widget reports one of:

MONITORING

No active tenant enforcement rule exists; the immutable monitoring catch-all remains active.

ENFORCED

At least one active independently approved enforcement rule requires an authentication response such as step-up, without a termination, Universal Logout, connector, or workflow action.

ENFORCED_WITH_ACTION

At least one active independently approved rule can terminate a session, invoke Universal Logout or configured logout connectors, or run a signed workflow.

The same view includes evaluations, violations, unique users, monitor/remediate/failure outcomes, step-ups, exact-session termination, Universal Logout, workflow counts, matched rule counts, and affected applications. Application entries contain only resourceType and resourceSha256. The hash is domain-separated by Atlas purpose, tenant, type, and raw application ID, making it stable for one tenant’s investigation while preventing cross-tenant correlation. The raw application identifier is used in memory for live authentication-policy re-evaluation but is never written to the session decision or observability store.

Time-series semantics

24h produces 24 one-hour buckets. 7d produces seven 24-hour buckets. Buckets begin at the response’s exact from timestamp and use the half-open interval from ⇐ occurredAt < to. They count named detections, entity-policy evaluations, session evaluations, and actual session violations independently. This prevents one session action from being misreported as a new entity detection and makes source and enforcement trends directly comparable.

Investigation example

curl --fail-with-body \
  -H "Authorization: Bearer ${ATLAS_TOKEN}" \
  "https://atlas.example/api/v1/users/00u123/risk/investigation?window=7d&limit=200"

The response intentionally includes multiple evidence families rather than flattening them into prose. An analyst can follow detection.traceId, matched decision versions, response references, feedback, and hash-linked trace events without trusting a dashboard count as the sole forensic record.

Provider Trust Modes

Exactly one trust mode is permitted.

SSF well-known configuration

{
  "name": "Partner Security",
  "type": "partner",
  "settings": {
    "well_known_url": "https://signals.partner.example/.well-known/ssf-configuration"
  },
  "audience": "atlas-shared-signals",
  "allowedEvents": [
    "https://schemas.openid.net/secevent/caep/event-type/risk-level-change"
  ]
}

Atlas retrieves a bounded JSON document containing issuer and jwks_uri. If the request also supplies either value, discovery must match it exactly.

Explicit issuer and JWKS

{
  "name": "Partner Security",
  "type": "partner",
  "settings": {
    "issuer": "https://signals.partner.example",
    "jwks_url": "https://keys.partner.example/jwks"
  }
}

Offline public-key reference

{
  "name": "Mission Partner",
  "type": "mission-partner",
  "settings": {
    "issuer": "https://signals.partner.example",
    "verificationKeyRef": "vault://icam/shared-signals/mission-partner"
  }
}

The reference is not key material. The deployed resolver retrieves a public key from the approved custody system. Inline PEM, private JWKs, symmetric keys, and raw secrets are rejected.

Remote Trust Retrieval

Production discovery and JWKS retrieval:

  • requires HTTPS and normal certificate verification;

  • disables environment proxies;

  • refuses redirects;

  • resolves DNS before dialing;

  • rejects every answer if any answer is loopback, private, link-local, unspecified, or multicast;

  • pins the connection to an already checked address while retaining the original TLS server name;

  • bounds connect, TLS, response-header, and whole-request time;

  • bounds discovery documents to 64 KiB and JWKS documents to 256 KiB;

  • requires a JSON media type;

  • accepts at most 50 keys;

  • requires unique non-empty kid values;

  • rejects private, symmetric, encryption-only, weak RSA, and unsupported EC keys;

  • caches validated public keys for at most five minutes;

  • performs a per-JWKS-URL rate-limited refresh for an unknown kid to support controlled key rollover without outbound-request amplification;

  • never falls back to an expired key cache after an upstream failure.

Provider creation, replacement, and activation validate the trust source before committing. Deactivation and deletion never depend on the remote provider, preserving the containment path during an outage.

SET Validation

The receiver accepts a compact JWT no larger than 256 KiB and requires:

  • typ equal to secevent+jwt;

  • PS256, RS256, ES256, ES384, or EdDSA;

  • a configured key and, for JWKS providers, an exact kid;

  • exact issuer and audience binding;

  • issued-at and expiration claims;

  • a maximum five-minute lifetime and 30-second clock skew;

  • a JTI from 8 through 256 characters;

  • exactly one supported and provider-allowed CAEP, Okta user-risk, or RISC event;

  • a non-empty subject identifier.

The receiver accepts the RFC events object and the documented Okta user-risk-change compatibility form. It reads a subject nested inside the event, as used by provider risk and RISC payloads, as well as standard claims-level CAEP subjects.

The supported RISC event family is:

  • account credential change required, account purged, account disabled, and account enabled;

  • identifier changed and identifier recycled;

  • credential compromise;

  • opt in, opt out initiated, opt out cancelled, and opt out effective;

  • recovery activated and recovery information changed;

  • sessions revoked.

Credential compromise, identifier recycling, recovery activation, and sessions revoked create HIGH detections. Credential-change-required, account purge/disable, identifier change, and recovery-information change create MEDIUM detections. Account enabled creates a LOW detection. Opt-state events are retained on the signed provider trace but do not manufacture user risk. All provider detections remain monotonic: they may raise current posture but never lower it. Atlas routes response through independently approved entity-risk policy; receipt of a partner event alone never hard-codes a destructive action.

The JTI is reduced to SHA-256 before persistence and scoped by tenant and provider. If downstream consumption fails, Atlas releases the replay reservation so the transmitter can retry after recovery. After successful consumption, a repeated JTI is acknowledged as a duplicate without invoking the consumer twice.

Lifecycle And Evidence

Providers transition through ACTIVE, INACTIVE, and an internal irreversible deleted tombstone. The management API returns 204 for delete and subsequently treats the provider as absent, matching common Okta client expectations. The row remains in PostgreSQL so deletion cannot erase its history.

Each transition creates a new provider version and an event containing:

  • tenant and provider identity;

  • event type and exact version;

  • authenticated actor;

  • timestamp;

  • domain-separated reason digest;

  • prior evidence hash;

  • canonical state digest;

  • current evidence hash.

PostgreSQL requires a matching event for every committed provider version through a deferred constraint trigger. It rejects hard deletion, skipped versions, mutation after deletion, changes to immutable identifiers, and any update or deletion of event and replay rows. Rows created before schema v42 receive an explicit provider-imported cryptographic anchor; Atlas does not pretend to possess history from before that boundary.

The evidence API recomputes the chain before returning it. A discontinuity or changed hash returns 409.

Risk profiles use a second, independent chain across profile versions. Detections, trace events, feedback, and replay bindings are append-only. The stable detection catalog_id is a generated projection of the immutable event type and is indexed with tenant and occurrence time; clients do not depend on mutable display text for policy or reporting. PostgreSQL requires each profile version to reference a matching user.risk.profile.update event whose details bind the profile evidence head. Trace rows require exact sequence order and the preceding evidence hash. The database rejects hard deletion of risk posture, skipped versions, trace-link substitution, and mutation or deletion of forensic rows. Raw SETs, user subject emails, signal JTIs, and idempotency keys are not stored in the risk tables.

Entity-risk rules and decisions each have independent version and evidence chains. PostgreSQL requires a matching append-only event for every committed rule or decision version. It rejects hard deletion, rule mutation after archival, changes to decision inputs, changes after a terminal decision, duplicate active priorities, activation without a distinct approver, and evidence-row mutation. Only canonical group UUIDs, detection identifiers, bounded response references, and SHA-256 evidence are stored; SETs, subject email addresses, flow variables, and raw idempotency keys are excluded.

Session-protection policies, rules, decisions, and decision events use a third evidence boundary. PostgreSQL makes the two system policies immutable, requires independent activation for tenant rules, enforces one active rule at a given priority, and requires a matching event for every rule and decision version. Decision inputs, authentication-policy outcomes, and action snapshots cannot change after creation, and terminal decisions cannot be rewritten. Session identifiers, IP addresses, device identifiers, application resource identifiers, and forwarded-header chains are represented only by tenant-bound domain-separated SHA-256 values, bounded resource types, or canonical Network Zone UUIDs. The observability migration adds time-ordered tenant indexes for trace event type, user feedback, and hashed application attribution; it does not introduce a raw telemetry shadow table.

Failure Semantics

400

Invalid provider shape, trust mode, URL, key, event allowlist, or idempotency header.

401

The SET signature, issuer, audience, algorithm, or remote key binding failed, or an enforced session policy terminated the active session.

403

Management capability or fresh-AAL2 assurance failed, or continuous session protection requires step-up.

404

The tenant-scoped provider is absent or soft-deleted.

409

The provider is inactive, the version changed, an idempotency binding differs, a transition is invalid, or evidence verification failed.

428

An existing provider or rule mutation omitted a valid If-Match.

503

Durable storage, authorization policy, key custody, or required trust discovery is unavailable.

Remote trust failures fail provider creation or activation closed. An unavailable provider subsystem outside development prevents management and signed-signal processing; Atlas does not silently switch to an in-memory provider registry.

External Validation Boundary

The ITP capability families in the parity ledger now have stable APIs, durable models, explicit authorization, focused tests, and Docker-tagged persistence acceptance tests. This is an implementation claim, not a claim that every external EDR, SSF receiver, application logout connector, or production policy has been certified. Operators must validate partner interoperability, capacity, key rotation, receiver retry procedures, and policy outcomes in their own deployment.

Verify

Internal implementation checks are omitted from this public guide.

The Docker tests apply real migrations, create and replay provider and user-risk mutations, persist a catalog-bound first-party detection and reject a changed authoritative replay, activate independently approved entity-risk, session-detection, and post-authentication rules, execute durable policy decisions, rebuild all three reports plus the dashboard, event query, and per-user investigation from PostgreSQL after restart, verify a signed SET, reconstruct SQL-backed services, prove restart durability, verify evidence, prove raw session context, application identifiers, and idempotency keys were not stored, and prove append-only triggers reject event tampering. Run the tagged test when the validation host has sufficient available memory.