Engineering guide · ICAM
Governance Request Questions, Tasks, And Timers
On this page
APIPolicy And Step ModelQuestion GrammarTimer AuthorityDelegation And Separation Of DutiesAdmin Role GovernanceFailure SemanticsVerificationAtlas access-request policies are durable, tenant-scoped workflow graphs. They provide the useful question, approval, task, action, and timer concepts documented for Okta Access Requests while keeping request routing separate from entitlement-policy calculation and from workflow-connector execution.
The REST contract is published through /openapi.json and Swagger UI at
/docs/. The same operations are available through GovernanceService gRPC.
API
| Method | Path | Purpose | Minimum assurance |
|---|---|---|---|
|
|
List tenant access-request policies and their immutable step schemas. |
Authenticated |
|
|
Create or revise a bounded policy using optimistic revision control. |
Fresh AAL2 policy administrator |
|
|
List effective question, approval, task, action, or timer checkpoints. |
Authenticated; non-operators see only their effective assignments |
|
|
Answer, approve, deny, complete, request information, or delegate a task. |
AAL2 effective assignee or operator plus exact revision |
|
|
Claim and advance at most 100 due timers. |
Fresh AAL2 governance operator |
Collection routes support bounded pagination and filters. Task decisions bind the actor, source request, step, original and effective assignees, delegate revision, expected revision, and a hash of validated answers into append-only evidence.
Policy And Step Model
An access policy contains at most 64 ordered steps. Step identifiers are unique bounded identifiers. Supported step types are:
question-
Collects typed, bounded answers from an assigned user. A question step cannot complete until every required question is answered.
approval-
Accepts
approve,deny, orrequest_info. The requester or access subject cannot approve their own request, and one principal cannot satisfy multiple distinct approval steps. task-
Represents human work that must be explicitly completed. Atlas does not infer completion from elapsed time.
action-
Represents an integration action checkpoint. The action is completed only after the assignee or a trusted adapter has evidence that the real operation succeeded. An absent adapter remains pending or fails closed.
timer-
Waits for a bounded duration or an RFC 3339 answer supplied by a preceding date question. On expiry it advances, denies, or creates an assigned escalation approval.
User, requester, and authoritative resource-owner assignment are supported. Unresolvable assignees reject request initialization instead of creating an unowned task.
Question Grammar
Each question has a stable ID, prompt, type, required flag, and maximum answer
length. Supported types are text, date, and dropdown.
-
Dropdowns have at most 64 immutable options and may explicitly enable multi-select.
-
Text and date questions accept one value.
-
Dates use RFC 3339 so a scheduler never guesses a local offset or daylight saving transition.
-
A question value is limited to 4,000 characters.
-
IDs, prompts, and answers that resemble password, credential, or secret collection are rejected. Workflow connections use Vault references instead.
-
Answers that are not in the task’s immutable schema are rejected.
{
"decision": "complete",
"reason": "request context supplied",
"expectedRevision": 1,
"answers": [
{
"questionId": "target-environment",
"values": ["production"]
}
]
}
Validated answers are copied into the authoritative request only as the question task advances. Timer date sources therefore consume the same committed answer set reviewers see; a caller cannot provide a second hidden deadline to the scheduler.
Timer Authority
Duration and date timers are mutually exclusive. Every timer is limited to 90 days. A past date becomes immediately due, matching the visible request state without allowing a negative duration.
The scheduler:
-
loads pending tenant timer checkpoints;
-
orders them by deadline and stable task ID;
-
limits a tick to 100 timers;
-
claims each exact task revision;
-
records the authoritative due time, fire time, action, and attempt;
-
advances the request or creates its escalation task;
-
returns subsequent concurrent or repeated claims as no-ops.
If progression fails after the timer claim, Atlas restores the checkpoint to
pending, records a bounded error plus hash-bound failure evidence, and leaves it
retryable. It does not discard the timer or report a successful request.
Every stored policy and task also carries a canonical state hash. Reads and
mutations recompute it after applying the authoritative SQL revision and fail
closed if the JSON payload was changed outside Atlas.
advance continues to the next policy step. deny terminates the request.
escalate creates an explicit approval assigned through the same user,
requester, or resource-owner resolver used by ordinary workflow tasks.
Delegation And Separation Of Duties
Effective task assignment is resolved live through the governance-delegate authority. Standing delegates are time- and scope-bound. Manual delegation is single-hop and cannot be delegated again.
The original assignee remains in evidence. Delegation cannot bypass protected principals, tenant eligibility, requester/subject self-review restrictions, or the rule preventing one person from satisfying multiple approval steps. Scheduler-owned timer tasks have no user assignee and never enter the delegation graph.
Admin Role Governance
Administrator access uses the same request/task authority, but fulfillment is the native delegated-administration authority:
-
a role bundle is an immutable role and exact resource-set pair;
-
every bundle is materialized as a requestable governance entitlement and access package;
-
approved access produces only a time-bound
PENDINGnative binding; -
a different fresh phishing-resistant AAL3/FAL2 actor activates it;
-
request-time PDP evaluation verifies the signed binding, exact resources, permission conditions, tenant, principal, status, and expiry;
-
certification revocation and expiry remove native authority and converge the linked governance request and fulfillment evidence.
This removes standing administrator grants and prevents a descriptive catalog record from becoming enforcement authority by itself.
Failure Semantics
-
Unknown resources, question schemas, assignees, answer values, and timer sources fail validation.
-
Stale policy and task revisions return conflict.
-
A timer cannot be completed through the ordinary user-decision endpoint.
-
A question cannot collect secret material.
-
Action checkpoints do not claim an unavailable external operation succeeded.
-
Tenant mismatch and unauthorized task access are indistinguishable from unavailable records at the authority boundary.
Verification
Focused coverage includes typed and required answers, dropdown bounds, credential-collection rejection, duration and date limits, pre-deadline no-op, exact-once concurrent-safe firing, escalation creation, sequential task progression, delegation, separation of duties, tenant isolation, optimistic conflicts, direct PostgreSQL payload-tamper rejection, fulfillment queuing, REST assurance, gRPC propagation, and detailed OpenAPI contracts.
Run the focused local suite:
Internal implementation checks are omitted from this public guide.
The PostgreSQL implementation persists access requests and generic governance
control records, including tasks and timer evidence. The bounded tmpfs
PostgreSQL test passed concurrency, restart, replay, sequential progression,
and direct payload-tamper rejection on 2026-07-26. Its checksummed evidence is
stored under
artifacts/governance-request-workflow-docker-validation/20260726T212208Z.