Engineering guide · ICAM

Governance Reviews, Security Reviews, And Integrations

Status: currentReviewed: 2026-07-26Audience: governance API developers, certification integrators, security reviewers, platform operators
On this pageAuthority BoundaryAuthentication And AuthorizationIdempotency, Concurrency, And IntegrityEnd-User Certification ReviewsNon-Human Certification SubjectsSecurity Access ReviewsOrganization Integrations And SettingsFailure BehaviorVerificationCompatibility References

Atlas 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 okta.governance.reviewer.read or okta.governance.reviewer.manage

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 okta.governance.accessReviews.read

Security Access Review mutation

fresh phishing-resistant AAL3

okta.governance.accessReviews.manage or Atlas governance administrator

Integration and settings reads

fresh AAL2

okta.governance.settings.read

Integration or settings proposal/activation

fresh phishing-resistant AAL3

okta.governance.settings.manage; activation requires a different actor

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:

  1. the MAC over all semantically authoritative persisted state, including non-display digests and actor references;

  2. event sequence starts at one and is contiguous;

  3. each previous_hash equals the preceding event hash;

  4. each event payload hash and keyed event MAC;

  5. aggregate version equals the number of committed events; and

  6. aggregate evidence_head equals 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

/governance/api/v1/my/campaigns/{campaignId}/reviews

List review records assigned to the authenticated user.

GET

/governance/api/v1/my/campaigns/{campaignId}/reviews/{reviewId}

Get one assigned review.

POST

/governance/api/v1/my/campaigns/{campaignId}/reviews/actions

Submit 1 through 50 APPROVE, REVOKE, or REASSIGN actions. All reassignments in one request use the same reviewerId.

POST

/governance/api/v1/my/campaigns/{campaignId}/reviews/bulk-decisions

Accept a durable Governance Analyzer bulk approval job.

GET

/governance/api/v1/my/campaigns/{campaignId}/reviews/bulk-decisions/jobs/{jobId}

Read ACCEPTED, IN_PROGRESS, COMPLETED, or ERROR status and counts.

GET

/governance/api/v1/my/campaigns/{campaignId}/reviews/{reviewId}/agent-resource-connections/{agentId}

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

/stats

GET, PATCH

/{securityAccessReviewId}

POST

/{securityAccessReviewId}/summary

GET, POST

/{securityAccessReviewId}/actions

GET

/{securityAccessReviewId}/principal

GET

/{securityAccessReviewId}/accesses

GET

/{securityAccessReviewId}/accesses/{accessId}/sub-accesses

GET

/{securityAccessReviewId}/accesses/{targetId}/anomalies

POST

/{securityAccessReviewId}/accesses/{targetId}/summary

POST

/{securityAccessReviewId}/accesses/{targetId}/actions

GET

/{securityAccessReviewId}/history

POST

/{securityAccessReviewId}/comment

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

/governance/api/v1/settings/integrations

List integrations or propose Slack integration.

GET, DELETE

/governance/api/v1/settings/integrations/{integrationId}

Read or retain-and-retire an integration.

POST

/governance/api/v1/settings/integrations/{integrationId}/lifecycle/activate

Independent activation.

GET, PATCH

/governance/api/v1/settings/certification

Read active/pending certification settings or stage a replacement.

GET, PATCH

/governance/api/v2/request-settings

Read active/pending access-request settings or stage a replacement.

POST

/governance/api/v1/settings/{settingType}/lifecycle/activate

Independently activate certification or request settings.

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

400

Malformed, unbounded, unsupported, or secret-looking input.

403

Reviewer, capability, tenant, assurance, or maker-checker boundary failed.

404

The tenant-scoped resource does not exist or is intentionally concealed.

409

Stale version, terminal decision, self-review, invalid lifecycle, replay conflict, aggregate MAC failure, or evidence-chain mismatch.

503

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.