User and operator guide · Architecture

Lifecycle And SCIM Architecture

Status: currentReviewed: 2026-07-05Audience: systems engineers, developers, deployment engineers, security reviewers, validation engineers
On this pageBoundaryRuntime TopologyDurable Data ModelJob State ModelSCIM Client BehaviorJoiner Mover Leaver FlowApplication Activation GateRelated Pages

Atlas lifecycle management and SCIM adds lifecycle management and SCIM as a service-owned domain behind the gateway trust boundary. The implementation is intentionally Postgres-first for authoritative state: SCIM connections, lifecycle jobs, attempts, dead letters, reconciliation runs, and evidence hashes are durable records. Atlas Cache remains a runtime coordination tool only; it is not the source of truth for lifecycle state.

Boundary

Boundary Owned by lifecycle and SCIM Not owned by lifecycle and SCIM

Identity source

Lifecycle jobs consume subject/profile inputs and write target provisioning state.

Authoritative HR/personnel source approval, proofing, CAC/PIV issuance, and enterprise directory authority.

Connector configuration

SCIM connection records, readiness state, enabled state, capabilities, evidence hash, and secret reference.

Raw bearer tokens, external vault administration, SaaS tenant approval, or production connector support agreements.

Provisioning action

Joiner, mover, leaver, group push, deprovision, restore, retry, dead-letter, and reconciliation behavior.

Authorization to access a protected resource. Provisioning is evidence and state, not access approval by itself.

Evidence

Local-live Lifecycle/SCIM artifacts and SHA-256 manifest.

ATO authorization, external assessor acceptance, SIEM retention proof, or inherited enterprise controls.

Runtime Topology

Lifecycle Scim Topology
Lifecycle Scim TopologyArchitecture diagramOpen full size ↗

The gateway is the browser-facing enforcement point. Mutating routes require operator authorization and a fresh AAL2-or-better session. Read routes require an operator/read posture appropriate for lifecycle operations. Responses return secret references only.

Durable Data Model

Table Purpose Security relevance

scim_connections

Connection metadata, base URL, auth mode, token secret reference, enabled state, readiness status, evidence hash, capabilities, and config.

Stores only references to secrets. Enabled state is fail-closed if readiness is missing or failed.

lifecycle_jobs

Requested lifecycle operation, state, app, subject, idempotency key, correlation ID, input, result, and evidence references.

Creates the auditable control point for joiner, mover, leaver, deprovision, and reconciliation behavior.

lifecycle_job_attempts

Attempt number, operation, status, target response status, retry delay, error code, and evidence hash.

Supports retry, rate-limit handling, and failure traceability.

lifecycle_dead_letters

Final-failure records, reason, last attempt, operator action, resolution state, and evidence hash.

Prevents silent loss of failed provisioning operations.

lifecycle_reconciliation_runs

Expected target state, observed drift, repair-action plan, status, and evidence hash.

Provides CM/SI evidence for drift detection and recovery.

Job State Model

Lifecycle Job State
Lifecycle Job StateState diagramOpen full size ↗

The service never treats a provisioning success as authorization. Access still depends on Atlas session, assurance, policy, resource, trust, and audit controls.

SCIM Client Behavior

Capability Implemented behavior Validation target

Service provider readiness

Fetches /ServiceProviderConfig using bearer-token material resolved from a secret reference.

phase2-scim-connection-readiness.json

User create/read/filter/update

Creates users, finds users by userName, and updates profile attributes through SCIM requests.

Joiner and mover cases in phase2-lifecycle-positive-results.json

Deactivate without hard delete

Sets active=false for leaver/deprovision flows.

Leaver/deprovision case and result field hardDelete=false

Group push

Creates or replaces group membership for managed target groups.

Group-push case in positive evidence

Retry

Honors 429 Retry-After and retries until success or max attempts.

Rate-limit retry case and attempt history

Dead letter

Creates durable dead-letter evidence after final failure.

Negative evidence and dead-letter resolution audit

Import safeguard

Marks high-impact import/reconciliation proposals review_required and performs no target writes.

Negative evidence with writesPerformed=false

Joiner Mover Leaver Flow

Lifecycle Jml Flow
Lifecycle Jml FlowArchitecture diagramOpen full size ↗

Application Activation Gate

Applications with provisioning or group-push scope cannot be activated only because SSO is configured. The activation path checks for an enabled, validated SCIM connection with a current evidence hash. This keeps SSO readiness separate from provisioning readiness and prevents an app from entering an operational state with unvalidated lifecycle behavior.

Condition Activation result

SCIM not required

SSO and application readiness gates decide activation.

SCIM required, no connection

Activation blocked.

SCIM required, connection disabled

Activation blocked.

SCIM required, readiness failed or unknown

Activation blocked.

SCIM required, validated enabled connection with evidence hash

Provisioning readiness gate passes; authorization still depends on Atlas policy.