Work 02
OGWA, Okta Governance Web App
Identity governance
Oct 2026
OGWA treats a lifecycle candidate as evidence for review, never as authorization to delete. Its Okta and Active Directory integrations are read-only, remediation is dry-run planning only, and the build refuses production mutation at startup.
01 Overview
OGWA is a web application for identity and group lifecycle governance. It correlates Okta applications and their assigned groups, Okta usage, Active Directory group state and dependency evidence to support reviewed lifecycle decisions: candidate, review, hold, approval, revalidation and retirement.
The backend and operator API use only the Python standard library. The store is SQLite with PostgreSQL-compatible DDL and versioned migrations. The operator interface is static, dependency-free ES modules served beside the API on one origin under a strict content security policy with Trusted Types. Active Directory access goes through a read-only PowerShell worker.
02 Safety design
The default execution mode is LOCAL_SYNTHETIC. PRODUCTION_MUTATION is rejected at startup by this build and cannot be enabled through configuration. The Okta client is GET-only and the Active Directory worker uses Get-* cmdlets only. Remediation resolves to one of SIMULATED, WHATIF, VALIDATION_ONLY or BLOCKED, never to a change, and the Ansible Automation Platform adapter can only validate.
The binding owner decisions are recorded in the repository as numbered, dated entries, and tests guard the safety-critical files. A lifecycle candidate is evidence for review: every step toward change needs a valid, unexpired, fingerprint-matched approval from a named human, and the approver of the Active Directory stage must be a different person from the approver of the Okta unassignment.
03 Lifecycle and audit model
State changes go through a single function that looks the move up in a closed transition table; anything not in the table is refused whatever evidence is supplied. Progress requires proof and retreat requires only a reason, so a broken collector can never prevent a candidate from being stopped. The Hold, Quarantine Hold and Retired states are entered by observing, through read-only discovery, that an approved change has been made, never by OGWA making it.
Decisions and approvals are bound to an append-only, hash-chained audit trail. A documented remediation of the approval-integrity defect (2026-10-12) closed a gap in which a forged decision row satisfied every database trigger: every decision and approval read must now match the audit event that recorded it, and integrity verification can be pinned to an anchored audit head.
Identity correlation between Okta and Active Directory uses stable identifiers first and never treats a name-only match as exact. A check that found nothing counts only if it completed and is decision-grade; an unchecked dependency kind is never reported as clear.
04 Demo mode and hosting
Demo Mode runs the same application over a deterministic synthetic dataset in its own store, with no live integration and no credential, and the runtime refuses to start if an Okta or directory credential variable is present. The screenshots on this page come from an earlier synthetic dataset, Null Meridian; the current default dataset is Genesee Press, shared with other projects in the same synthetic world.
A public demo is hosted on Cloudflare Workers with D1, read-only for visitors. The demo repository is a one-way release mirror generated from a verified commit, with a recorded digest for every file.
05 Testing and evaluation
The suites run against synthetic data only: Python unit tests, JavaScript tests for the interface logic, PowerShell tests for the two workers, and a headless-browser gate. A run recorded in the repository on 2026-10-12 reports 1,038 tests (1,021 passing, 17 skipped, none failing) and a browser gate of 17 of 17 checks. A fresh run of the Python unittest suite on 2026-12-01, with the interface’s Node.js tests included, ran 1,565 tests with 113 skipped (browser and PowerShell tests need other tooling) and no failures.
Each development phase (P01 to P10, then later review and interface work) has a run report in the repository recording what was changed, what was tested and what was left open.
06 Known limitations
The Okta client has been tested against mocks only and no approved credential exists. The Active Directory worker has been tested against a synthetic directory only. No live read of either system has taken place, and the read-only production gate (P11) has not started.
Remediation is dry-run planning only, by design. The demo runs under a policy labelled “DEMO POLICY — UNRECORDED”, which the interface states.