Engineering guide · ICAM
Governance Reviews, Security Reviews, And Integrations
On this page
Authority BoundaryAuthentication And AuthorizationIdempotency, Concurrency, And IntegrityEnd-User Certification ReviewsNon-Human Certification SubjectsSecurity Access ReviewsOrganization Integrations And SettingsFailure BehaviorVerificationCompatibility ReferencesAtlas exposes Okta-friendly Governance API routes for end-user certification reviews, Security Access Reviews, and organization integration settings. Atlas keeps the familiar client resources while adding transaction-coupled remediation, independent approval, keyed integrity verification, and explicit non-human identity subjects.
The gateway publishes these operations in /openapi.json and Swagger UI at
/docs/.
Authority Boundary
The direct PostgreSQL authority owns:
-
normalized review records linked to existing certification campaigns;
-
durable asynchronous bulk-decision jobs;
-
immutable point-in-time Security Access Review snapshots;
-
service-account and AI-agent resource-connection subjects;
-
Slack integration proposals containing Vault references, not credentials;
-
staged certification and access-request integration settings; and
-
the append-only evidence chain for every aggregate.
Existing governance_certification_campaigns remain the campaign authority.
Migration 098_governance_review_authority.sql adds normalized review state
with a composite tenant-and-campaign foreign key. A revoke decision inserts
the existing governance_fulfillment_actions outbox record in the same
transaction. A target connector cannot report successful remediation by
changing the review decision.
The gateway does not substitute memory state when PostgreSQL, migration 098,
or ATLAS_GOVERNANCE_REVIEW_INTEGRITY_KEY is unavailable.
Authentication And Authorization
| Operation class | Minimum assurance | Authority |
|---|---|---|
My review reads and approvals |
fresh AAL2 |
assigned reviewer and |
Revoke or reassign a certification review |
fresh phishing-resistant AAL3 |
assigned reviewer; reassignment cannot target the subject |
Security Access Review reads |
fresh AAL2 |
included reviewer or |
Security Access Review mutation |
fresh phishing-resistant AAL3 |
|
Integration and settings reads |
fresh AAL2 |
|
Integration or settings proposal/activation |
fresh phishing-resistant AAL3 |
|
Tenant identity, reviewer identity, assurance, and capabilities come from the authenticated request context. Request JSON cannot assert them.
Idempotency, Concurrency, And Integrity
Every mutation requires Idempotency-Key. Atlas immediately converts the raw
key to a tenant- and purpose-keyed HMAC. PostgreSQL stores only the 64-character
idempotency_ref; the client key is not evidence or application data.
Existing aggregate mutations require the exact numeric If-Match version,
quoted or unquoted and optionally prefixed with v. PostgreSQL row locks and
compare-and-swap versions prevent lost decisions. Certification decisions are
terminal. Deletes are rejected by retention triggers.
Every aggregate row and event includes an application-keyed integrity MAC. Before every read or mutation, the service verifies:
-
the MAC over all semantically authoritative persisted state, including non-display digests and actor references;
-
event sequence starts at one and is contiguous;
-
each
previous_hashequals the preceding event hash; -
each event payload hash and keyed event MAC;
-
aggregate
versionequals the number of committed events; and -
aggregate
evidence_headequals the terminal event hash.
A database writer that inserts structurally valid-looking SHA-256 values does not possess the application key and cannot forge a readable aggregate.
End-User Certification Reviews
| Method | Route | Behavior |
|---|---|---|
GET |
|
List review records assigned to the authenticated user. |
GET |
|
Get one assigned review. |
POST |
|
Submit 1 through 50 |
POST |
|
Accept a durable Governance Analyzer bulk approval job. |
GET |
|
Read |
GET |
|
Read the secret-free AI-agent resource connection captured by the review. |
The Okta-compatible bulk contract accepts:
{
"criteria": {
"type": "GOVERNANCE_ANALYZER",
"recommendedActionDecision": "APPROVE"
},
"reviewDecision": "APPROVE",
"note": "Analyzer evidence reviewed"
}
Submission returns HTTP 202 and never performs an inline bulk decision. The
Atlas worker leases accepted jobs with FOR UPDATE SKIP LOCKED, applies only
still-pending records assigned to the requester, and commits record evidence
and terminal job status together.
Non-Human Certification Subjects
POST /api/v1/governance/certifications/{campaignId}/subjects is the Atlas
extension for registering:
-
USER; -
OKTA_SERVICE_ACCOUNT; -
APP_SERVICE_ACCOUNT; or -
AI_AGENT_RESOURCE_CONNECTION.
{
"subjectType": "AI_AGENT_RESOURCE_CONNECTION",
"subjectId": "agent-triage",
"resourceId": "resource-security-events",
"entitlementId": "invoke.read",
"reviewerUserId": "user-agent-owner",
"recommendedAction": "REVOKE",
"subject": {
"agentId": "agent-triage",
"connectionId": "conn-security-events",
"resourceServerId": "resource-security-events",
"scopes": ["invoke.read"]
}
}
The subject payload may contain identifiers, scopes, owner references, and evidence digests. It must never contain an API key, token, private key, client secret, or connector credential. Fulfillment stores only subject and payload digests.
Security Access Reviews
Creating a review requires principalId, name, and:
{
"principalId": "user-1042",
"name": "Privileged access investigation",
"reviewerSettings": {
"type": "USER",
"includedUserIds": ["user-security-reviewer"]
}
}
The target cannot be a reviewer. endTime defaults to seven days and must be
at least one day and less than six months from creation.
Creation snapshots authoritative active/staged application accounts and their
entitlements. Registered service-account and AI-agent subjects are also
snapshotted when their subjectId is the reviewed principal. Later directory
or application changes do not rewrite historical scope.
| Method | Route below /governance/api/v2/security-access-reviews |
|---|---|
GET, POST |
|
GET |
|
GET, PATCH |
|
POST |
|
GET, POST |
|
GET |
|
GET |
|
GET |
|
GET |
|
POST |
|
POST |
|
GET |
|
POST |
|
Review actions are CLOSE_REVIEW and RESTORE_ALL_ACCESS. Access actions are
REVOKE_ACCESS, RESTORE_ACCESS, FLAG_FOR_MANUAL_REMEDIATION, and
FLAG_FOR_MANUAL_RESTORATION.
Summary endpoints use ATLAS_DETERMINISTIC_EVIDENCE_SUMMARIZER. They compute
counts and evidence digests locally; they do not send governance data to a
model or claim that generated prose is authoritative.
Organization Integrations And Settings
| Method | Route | Behavior |
|---|---|---|
GET, POST |
|
List integrations or propose Slack integration. |
GET, DELETE |
|
Read or retain-and-retire an integration. |
POST |
|
Independent activation. |
GET, PATCH |
|
Read active/pending certification settings or stage a replacement. |
GET, PATCH |
|
Read active/pending access-request settings or stage a replacement. |
POST |
|
Independently activate |
Slack configuration uses a strict allowlist:
{
"type": "SLACK",
"configuration": {
"credentialRef": "vault://governance/slack/primary",
"workspaceId": "T012345",
"channelIds": ["C099"],
"displayName": "Governance notifications",
"features": {
"certifications": true,
"requests": true
}
}
}
Migration 098 enforces the allowlist again in PostgreSQL. Raw webhook URLs,
tokens, passwords, API keys, private keys, arbitrary configuration fields, and
non-Vault credential locators fail closed. Reads return the Vault locator and
configuration digest, never the resolved credential.
Settings can reference only an ACTIVE integration. A proposer cannot activate
the integration or settings they proposed.
Failure Behavior
| Status | Meaning |
|---|---|
|
Malformed, unbounded, unsupported, or secret-looking input. |
|
Reviewer, capability, tenant, assurance, or maker-checker boundary failed. |
|
The tenant-scoped resource does not exist or is intentionally concealed. |
|
Stale version, terminal decision, self-review, invalid lifecycle, replay conflict, aggregate MAC failure, or evidence-chain mismatch. |
|
Durable authority or application integrity key is unavailable. |
Verification
Static checks:
Internal implementation checks are omitted from this public guide.
The focused Docker gate is:
scripts/test/run-governance-review-authority-docker-validation.sh
The gate is designed to prove migration parity, tenant isolation, reviewer authorization, maker-checker activation, concurrent compare-and-swap rejection, restart-safe bulk jobs, transaction-coupled fulfillment, raw-idempotency and credential absence, and rejection of a structurally valid SQL-forged hidden digest/ref.
The focused governance flow, non-human subjects, asynchronous job,
maker-checker, Vault-reference custody, blinded idempotency, and structurally
valid SQL-forgery rejection passed in
artifacts/governance-review-authority-validation/20260727T011426Z/manifest.sha256.
The current test source also contains concurrent compare-and-swap,
transaction-coupled fulfillment, cross-tenant concealment, and reconstructed
authority assertions; those additions require the next manifest before they
are described as executed evidence.