Skip to content

Release notes: Harbor Onboard

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

The release history of Harbor Onboard, newest first, as written in the CHANGELOG.md that ships in every release. Releases 0.44.0 and earlier were written as narrative notes and are not listed here.

For what each change means for you when you upgrade, read Upgrading first. Finding ids in brackets (for example “security M-2” or “T-F4”) are the product team’s tracking references.

Docs integration (docs site design sections 4, 7, 8 and 13): the console serves the offline documentation, every screen links to its page, the release zip can carry the docs, and the web API and the cmdlets carry what the generated reference needs. Plus the Low findings and cheap nits left from the P3S3 reviews. One BREAKING removal (owner decision): “Undo a run”.

  • “Undo a run” is gone (owner decision: “This can be done in CyberArk itself if needed”). This removes the Undo-PAMRun cmdlet, POST /api/undo, the Undo a Run screen, its nav entry and help link, the run-undone notification event and the undo-only account-delete helper.
    • Scripts that call Undo-PAMRun now fail with “not recognized”.
    • To reverse a run:
      1. Find what it created by its run ID. The run ID is still stamped on every log line, activity entry and register entry: see the Safe Register, the Activity page or Get-HarborActivity.
      2. Decommission or delete those safes in PVWA or Privilege Cloud. Remove their accounts first if you delete the safes.
      3. For the Harbor register, run Remove-PAMSafe per safe (register-only by default, -DeleteFromVault to also delete), then Register Sync.
    • Old data: register entries an earlier undo marked undone stay as they are, and the Status Board still leaves them out of the “onboarded accounts” count.
    • Notifications: a notifications.events list that names run-undone is harmless. That event no longer fires.
  • Offline docs at /docs/. The console serves <Module>\Docs\ read-only at http(s)://localhost:8787/docs/, without sign-in, so a locked-out admin can still read the recovery pages. GET/HEAD only; it reads and sets no cookie. A folder URL serves its index.html, and a URL without the trailing slash redirects. When the release has no docs, /docs/ shows a short page with a link to https://docs.harbor-pam.com/. The route is listed in the route table as GET /docs/* (handled by the web edge).
  • A “?” help link on every screen (bottom left). It opens that screen’s page (/docs/user-guide/onboard/<page>/, following the docs site’s page map: Harbor Home opens Dashboard, Tenant & Service Account opens Settings) in a new tab; the About pages open the docs home. The kit gains HarborKit.helpHref, helpLink and setHelp.
  • An item about internal developer documentation is omitted here.
  • Route summaries. Register-HarborRoute -Summary takes one sentence of at most 120 characters, and every route has one. The docs site generates its API reference from $script:HarborRoutes. A RouteTable test fails on a route without a summary.
  • Help coverage test. Every exported command must have a .SYNOPSIS, a .DESCRIPTION and at least one .EXAMPLE (Tests/HelpCoverage.Tests.ps1).
  • 400 px wide screens. Both consoles used to lay out at about 640 px on a phone, because the header row and long table cells set the page width. Now every screen fits at 400 px: the header wraps, layout tracks may shrink, cells wrap, and a wide table scrolls inside itself.
  • /auth/login and /auth/callback on a console without SSO used to answer a bare text 404. A browser is now sent back to the console with ?authError= (the shape a failed sign-in uses), and an API caller gets the JSON error {ok:false, code: "sso-disabled"}.
  • A background job started before the console’s request pool (Health’s warm-up scan) now reads the config the console serves. A console serving an explicit config folder (the test harnesses, sandboxes) no longer writes the module’s own ./Logs; both edge harnesses check this.
  • The time-travel compare reads the snapshot file list instead of parsing every snapshot, so a corrupt newest snapshot can’t make the route and the cmdlet disagree about latest (code nits R4-2, N5-1).
  • The OIDC issuer check accepts a chunked answer that carries trailers. It used to wait out the 10 s deadline and report “issuer unreachable” (code nit N5-3).
  • Set-HarborServiceAccount -Remove works on a demo profile, so a serviceAccount block left there from before 0.58 can be removed (code nit R4-3).
  • The older certificate-store seams (Find-/Remove-HarborTlsCertificate, Add-HarborTlsRootTrust, New-HarborTlsCertificate) dispose the certificate objects they read, as the uninstall seams do since 0.58.
  • Activity page at desktop width: in the feed, an operator’s name no longer draws over the message. Every feed line now has one cell per field.
  • Light theme: the account name in the header is readable (about 15:1 on the header bar; it was about 1.2:1).
  • RBAC Drift lists the same way on every start: the missing, unexpected, expected and actual members, the permission-drift rows and the Fix drift plan are sorted by name (ordinal, ignore case). They used to follow hashtable order, which changed from one start to the next.
  • The demo data and the examples use example.com (CSV templates, help examples, the Create Safe placeholder, the demo vault’s owners, hosts and live-session users). corp.com is a real registered domain.
  • /docs/ answers an unknown page with the docs’ own “page not found” page (404.html, status 404), when the bundle has one.
  • Review fix round 1:
    • Activity feed at tablet widths: the message keeps at least 12em, and below 900 px it gets its own row. A long operator name used to squeeze it to 0 px.
    • The “?” on the sign-in and first-run screens opens the break-glass and first-run docs pages.
    • Drift lists are a total order: names that differ only in case keep one order.
    • The suite-nav hover is readable in the light theme.
    • The help and template examples use example.com, which replaces corp.domain.com.
    • The break-glass password rule counts any Unicode letter as a letter.
    • Relative -DocsZip paths resolve against the current PowerShell location.
    • Docs files are cached for an hour and then revalidated (ETag).
  • Review fix round 1 (the 0.59 security review):
    • The offline docs run sandboxed. Docs used to share the console’s origin, so a script in the docs could open the console in a window and call its API with the signed-in operator’s cookie. The /docs/ CSP now sandboxes the docs: an opaque origin, with no access to the console window, cookie or API. Docs files are served with Access-Control-Allow-Origin: * (public files, never with credentials), so search still works, and the console’s HTML sends Cross-Origin-Opener-Policy: same-origin.
    • The docs bundle is pinned in the product repos.
      • docs.lock, the same file in both products, names the exact harbor-docs release tag, asset and SHA-256.
      • Build-*Release.ps1 -DocsZip checks the zip against the lock; -DocsSha256 is gone.
      • release.yml downloads that exact tag with no token. It runs only when HARBOR_DOCS_REQUIRED is exactly true.
      • Actions are pinned by commit SHA.
    • A client that does not read can no longer hold the console.
      • Static, platform and docs files are sent asynchronously, with a 15 s deadline (it used to be about 2 minutes per connection, repeatable).
      • HEAD reads no file, and http.sys drops clients slower than 1 KB/s.
      • The docs per-file cap is now 2 MB.
    • The docs extractor ships exactly what the console serves. Every name is checked against the server’s rules, which refuses device names, trailing dots and spaces, dot-files, duplicates, case collisions and unlisted file types. Actual decompressed bytes are counted, not the sizes the zip declares. The zip is opened once (hashed and read from the same stream), and a refused bundle leaves nothing behind.
    • The issuer SSRF fence decodes ::ffff:0:a.b.c.d and ISATAP around an internal IPv4, and refuses 192.0.0.0/24 and 198.18.0.0/15.
  • The /docs/ route is narrow on purpose. The raw request path is checked before and after one decode. Refused: .., encoded or double-encoded separators, : (NTFS streams, drives), UNC forms, reserved device names, trailing dots or spaces, and any character outside a plain file-name set. The canonical path must stay under the Docs folder, and junctions or symlinks inside it are not followed. Only listed file types are served (html, css, js, mjs, json, svg, webp, png, ico, woff2, txt, xml, wasm and Pagefind’s index files), each with nosniff, up to 2 MB a file.
  • /docs/ has its own Content-Security-Policy. It is the console’s policy plus 'wasm-unsafe-eval' (Pagefind’s search index), with connect-src limited to /docs/ itself (defence in depth; the sandbox above is the boundary) and frame-ancestors 'none'. Inline script runs only for hashes the docs build lists in harbor-csp-hashes.txt. Every other path keeps the console’s policy unchanged.
  • The release build only ships a verified docs bundle (pinned in docs.lock since fix round 1). A hash mismatch is refused, and so is any zip entry that would land outside Docs\ (zip-slip): a rooted name, a colon, ./.. or empty segments. Scripts and executables (.ps1, .psm1, .dll, .exe, .cmd, …) are refused too, since the build signs every .ps1 it stages. The bundle may hold at most 20,000 entries and 500 MB. All of this is checked before anything is written.
  • Break-glass password rules (first run and rotation). Also refused now: digits-only passwords (the reported 123456789012), passwords that use only one kind of character, and passwords with a run of 6 or more consecutive or neighbouring-key characters (abcdef, 789012, qwerty, either direction). The deny-list gains a few common words, season names among them (Summer2026!). The 12-character minimum and the 0.58 rules are unchanged.
  • The issuer SSRF fence refuses local-use NAT64 (64:ff9b:1::/48) and Teredo (2001::/32) addresses outright. Neither carries a checkable IPv4. 6to4 around a private IPv4 was already refused and is now tested.
  • SSO history redaction is an allow-list. Only the appAuth fields that never name a person (enabled, oidcClientId, issuer, scope, idleTimeoutMinutes, allowBypass) are served as recorded. Role lists are served as counts, and anything else, including a hand-made record, is served redacted (Sec R7 Info I-1).

Phase 3 session 3 of the path-to-1.0 plan: login default-ON, HTTPS by default, and the auth surface cut to exactly SSO, the break-glass account, demo mode and an explicitly declared service account. Design + owner decisions: the internal design notes (D8-D25).

  • Consoles with no sign-in configured (no appLogin, no appAuth). There is no unauthenticated console any more. The first start after the upgrade is a FIRST RUN: the console prints a one-time setup code (and the launcher opens the browser with it), and you create the emergency (break-glass) admin account on a single screen. Nothing else answers until then. From a PowerShell console on the machine, Set-HarborWebLogin -Username <you> does the same. Service installs (SYSTEM task): re-run Install-HarborService from an elevated console – it asks for the break-glass account before it re-registers the task.
  • Everyone on http. The consoles serve https://localhost:8787 / :8788 as soon as a certificate is bound – one elevated step for both consoles: Initialize-HarborTls -TrustRoot (or Install-Harbor.ps1 -SetupTls, Launch-Harbor.ps1 -SetupTls, or Install-HarborService). The two -SetupTls switches open the elevated step for you (one UAC prompt) ONLY when no standard user can write the Harbor folder or every script is signed (an install under %ProgramFiles%, a signed release); on a per-user install (Install-Harbor.ps1 -Scope CurrentUser, the default) they print the exact command to run from an elevated PowerShell. Old http://localhost:8787 bookmarks stop working once https is on. Without a certificate the console still starts, on plain http, with a red warning.
  • CyberArk SSO users: register the https callback URIs FIRST. Add https://localhost:8787/auth/callback and https://localhost:8788/auth/callback to the CyberArk Identity app before switching to https (keep the http ones until every console has moved). Until then SSO sign-in fails; the break-glass account still works.
  • SSO users who are not in the role map are now VIEWERS (owner decision D19). They used to get operator implicitly. Anyone who should create safes, onboard accounts or run repairs must be listed under appAuth.roles.operator (or admin): Set-HarborSsoConfig -OperatorUsers <names> (or -AdminUsers), the Operators field in the SSO wizard, or edit the profile. Until then they can read but not write.
  • The testing bypass is gone. allowBypass (on appLogin or appAuth) is ignored with a warning, POST /api/auth/bypass no longer exists, and a credential-less “bypass-only” appLogin block is a config error. Demo profiles need none of it: every caller of a demo console is the demo operator.
  • The break-glass account is always admin. appLogin.role is ignored, and Set-HarborWebLogin -Role / -AllowBypass warn and do nothing. Use SSO roles for narrower access. Set-HarborWebLogin moved to the shared platform (it is now exported by Harbor Health too) and enforces 12+ character passwords.
  • The service account is explicit (D20-D23). A profile declares it in a serviceAccount block: kind (oauth, or a vault-user logon cyberark / ldap / radius / windows – all still supported), secretSource (dpapi, secretManagement, env or prompt) and connect (startup / manual).
    • ONLY the declared source is read – no more fallback chain. -ClientSecret / -Password (and a secret typed in the Connect form) still win.
    • An older profile (no serviceAccount block) is read as the equivalent block, and the web console writes that block into the profile at its first start (logged). Check it under Tenant & service account. The source is chosen in this order – the DURABLE sources first, so the result no longer depends on which process started first: (1) the profile’s secretManagement block (OAuth accounts), (2) a stored DPAPI blob (oauthClientSecretDpapi / logonPasswordDpapi), (3) the environment variable (HARBOR_OAUTH_SECRET / HARBOR_LOGON_PASSWORD) only when nothing durable exists, (4) otherwise prompt + connect: manual. Only (1)-(3) are written down (connect: startup); a prompt account is re-derived at each start and never frozen into the config. A vault-user profile with no username is still an account: type the name in the Connect form, as before.
    • A sign-in never connects the service account any more (it used to, for ANY signed-in operator, from the stored secret), and the SSO callback no longer connects it from HARBOR_OAUTH_SECRET. connect: startup connects it when the console starts.
    • A secret typed in the Connect form is no longer remembered as a side effect. Storing one is its own admin action: Tenant & service account, or Set-HarborServiceAccount -SecretSource dpapi -Secret ....
    • Hosts that rely on an environment variable while a DPAPI blob also exists (typically a SYSTEM service host whose HARBOR_OAUTH_SECRET is set for that account, on a machine where an operator once saved the secret from their own account): the migration now picks the blob (dpapi), which SYSTEM cannot decrypt, so that host does not connect. Declare the environment variable explicitly – from the account that runs Harbor: Set-HarborServiceAccount -Kind oauth -ClientId <id> -SecretSource env -EnvVar HARBOR_OAUTH_SECRET -Connect startup (for a vault user: -Kind cyberark -Username <name> -EnvVar HARBOR_LOGON_PASSWORD). The variable must belong to that account (never machine-wide: every local user can read a machine variable). Prefer SecretManagement or a blob saved FROM the SYSTEM account over a variable (see Install-HarborService below). Scheduled scans that relied on the variable need the same explicit -SecretSource env.
  • Not affected: demo use (still one click), the register, the config files, CLI cmdlets other than the service-account secret rules above.
  • First-run setup (D8/D9): POST /api/auth/bootstrap (loopback only, CSRF, one-time code: single use, 30 min; wrong codes slow down per address but never void it) and the SPA’s “Welcome to Harbor” screen. The code also lands in <store>\bootstrap.HarborOnboard.code (SYSTEM + Administrators + the console’s account only).
  • Emergency (break-glass) account management: POST /api/auth/break-glass changes its password (the account itself, current password required; every other session of it ends) or creates it when SSO is the only way in (an SSO admin with a recent sign-in). Tenant & service account shows both, and admins see a red strip while no emergency account exists.
  • HTTPS: Initialize-HarborTls / Get-HarborTlsStatus (exported). A self-signed LEAF with SAN localhost + 127.0.0.1 (the old service certificate lacked the IP), non-exportable key in LocalMachine\My, bound for BOTH consoles; -TrustRoot trusts the leaf machine-wide; -CertThumbprint uses yours; -Renew replaces it. Start-HarborWeb -Http serves plain http on purpose; -Https still means “refuse without TLS”.
  • Set-HarborServiceAccount and GET/POST /api/service-account (admin; the POST is destructive, S7) with a Service account card on Tenant & service account.
  • Every break-glass sign-in, password change and first-run completion is a security event: audit log + the profile webhook (break-glass-used, break-glass-changed, bootstrap-complete). Failed sign-ins are audited.
  • One auth posture (Get-HarborAuthPosture: demo / bootstrap / gated) re-read whenever the config changes – in this process or on disk (the CLI, the sibling console) – so a new break-glass account or the SSO wizard takes effect without a restart (the gate used to snapshot appLogin at startup but re-read SSO lazily).
  • On https the session cookie is __Host-harbor_sid (Secure, Path=/) and the OIDC state cookie __Secure-harbor_oidc. HSTS is deliberately never sent (it would pin every localhost port to https).
  • The sibling console’s origins in the CSP and CORS are built by the platform edge for the ACTIVE scheme only (the wrappers used to list both schemes).
  • The sign-in throttle is progressive (60 s doubling to a 15-minute cap, never permanent). A browser that signed in as the break-glass account before has its own bucket (device cookie); every other caller shares one budget per address, whatever name it sends (fix round 2: a per-name bucket told the real name apart).
  • /api/status carries authMode, bootstrapRequired, authSource and tls { scheme, fallback }; the slim pre-sign-in answer includes them.
  • The launchers open/probe the right scheme and pass -Http; -SetupTls runs the elevated HTTPS setup. Install-HarborService uses Initialize-HarborTls.
  • No ungated console; /api/_stop always needs an admin (or the demo operator).
  • S7 fails closed: a destructive route on a serving console with no operator in the request context is refused (it used to be waved through).
  • A demo profile never runs SSO (an SSO user token on a demo profile with a real pvwaUrl would have built a live user vault session).
  • A credential-less appLogin block fails closed (no sign-in, no throw).
  • The break-glass writer is atomic (tmp + rename under a lock) and copies the resolved profile first; Set-HarborWebLogin used to rewrite the shared config in place with Set-Content.

Fixed – release-candidate review, round 1

Section titled “Fixed – release-candidate review, round 1”
  • A running console stays on the profile it started with (security H-1). The sign-in posture, the credential check, the migration and the webhook used to follow whatever the suite default on disk said NOW – switching the default to a demo profile turned a gated console into a no-sign-in one. A console that started with sign-in and whose profile turns demo now LOCKS (red banner, restartRequired, ERROR in the audit log) until restarted; the demo operator answers loopback callers only.
  • Saving the tenant (and the first-run wizard) merges instead of replacing the profile (code B1 / security M-1): the break-glass account, SSO, the service account, the stored secret and the webhook survive. Tenant name / id must be one DNS label (security M-7).
  • Sign-in throttle (security M-2/M-3, code m13): long or control-character usernames cost nothing; unknown names share one budget per address (then 401 at once, no PBKDF2); a browser that signed in before has its own bucket (device cookie); counts decay and the table is bounded; failed sign-ins are rate-limited in the audit log. Re-running Set-HarborWebLogin clears the account’s lock-outs.
  • Setup codes are no longer burnable (security M-4); one code file per console (L-2).
  • Rotation ends every older session of the break-glass account – from the web, the CLI or the sibling console, in the shared store too (security M-6, code m11); the web rotation re-issues the caller’s own session.
  • Imported SSO sessions get their role from THIS console’s role map (security M-5, D19).
  • Service account: durable secret sources win over a shell’s env variable in the migration (code M1); Remove clears the legacy fields and every change ends the live service session, audited (code M2, security L-3); the Connect form and authMethod follow serviceAccount.kind (code M3); a dpapi account re-saves without retyping the secret (m3); from the web the secret can come only from Harbor’s own env variables or a Harbor* SecretManagement name (security M-7); Set-HarborSecretVault is a deprecated wrapper (m14); Install-HarborService warns when SYSTEM cannot read the secret (m10); the first-run wizard declares the service account (m7); authMethod is no longer required (security L-6).
  • HTTPS: Initialize-HarborTls swaps bindings and rolls back on failure – both ports or neither (code M4); refuses to replace another application’s binding without -Force, retires superseded leaves and trusts only a server-auth leaf (security L-5, code m8); auto mode ignores an unusable binding (m9); a mixed-scheme suite is reported by both consoles and the launchers (code M5); -SetupTls asks the trust question and elevates only trusted code, via -File (security L-4, code n3); localised netsh output parses (n6).
  • Config writes are atomic ([IO.File]::Replace, retried, never reported as success when they failed) and the older writers hold the config lock (code m1/m2).
  • Security webhooks no longer run on the accept thread, and the security kinds are always sent when a webhook exists (security L-1, code m5). The SPA reloads to the right screen on a first-run / locked 401 and after a first run completed elsewhere (code m6).

Fixed – release-candidate review, round 2

Section titled “Fixed – release-candidate review, round 2”
  • Vault-user profiles without a username connect again (code R1, D20): the operator types the name on the Connect form, as before s3. Removing the service account still sticks.
  • One unreadable config read no longer signs everybody out (security N-2, code R3). A read or parse error of the config (a writer’s replace, an AV scanner, a JSON typo) – or of the shared session store – keeps the console’s last known-good sign-in state: no session is ended, the service session stays connected, and it reads again two seconds later. One WARN per episode; only a successful read that really shows a change ends sessions or disconnects. A config file that cannot be read now raises an error instead of silently falling back to the bundled profile.
  • The break-glass username can no longer be discovered (security N-1): every sign-in without this browser’s device cookie shares one budget per address whatever name it sends, with the same answer and the same cost for a real and an unknown name. The account’s CLI reset (Set-HarborWebLogin) clears it.
  • A stopped console no longer pins its profile in the PowerShell session that ran it (code R4): the CLI resolves the suite default again.
  • Initialize-HarborTls -Renew keeps a certificate another port still uses (code R2).
  • Tenant saves are audited (actor + changed field names, never values; security L-3), and a save that moves the tenant to another host removes the stored service secret, makes the service account declare its secret again and ends the service session – the old secret is never sent to the new host silently (security N-5).
  • Security-webhook failures and drops are logged (host only, at most once a minute), and the webhook pool closes at shutdown (security R-3, code R5).
  • Install-HarborService no longer suggests a machine-wide environment variable for the vault secret (every local user can read one; security N-3): use SecretManagement, a DPAPI blob saved from the SYSTEM account, or connect: manual.
  • -SetupTls elevates only a tree no standard user can write – checked by ACL, and again inside the elevated window (security L-4).
  • The atomic config writers resolve a relative path against the PowerShell location (code R8).

Fixed – release-candidate review, round 3 (polish)

Section titled “Fixed – release-candidate review, round 3 (polish)”
  • -SetupTls on a user-owned copy prints a short refusal (code R2-1, security R2-1): at most five reasons and one “…and N more” line (it printed one line per file), and it no longer tells you to import that same copy in an elevated PowerShell. Install Harbor where only administrators can change it – Install-Harbor.ps1 -InstallModule -Scope AllUsers (then Initialize-HarborTls -TrustRoot from that copy, elevated) or Install-HarborService (%ProgramFiles%\Harbor) – or use a signed release, and set up HTTPS from there.
  • A sign-in lock-out names its way out (security item 2): the 429 says that a browser that signed in here before is not affected and that an administrator on this machine clears the lock-out by setting the break-glass password again (Set-HarborWebLogin -Username &lt;account name>). The browser that completes first run gets its device cookie at once, so it never shares the per-address bucket.
  • An unreadable config no longer opens the first-run wizard (code R2-2): /api/status reports configured: true with a short configError, and Harbor Home shows an error strip.
  • Install-HarborService stops on an unreadable config (code R2-3) before installing anything, instead of skipping the break-glass step without a word.
  • A sign-in that could not be shared with the sibling console is logged (code R2-4): one WARN a minute at most when the shared session store cannot be read.

Fixed – release-candidate review, round 4 (browser test)

Section titled “Fixed – release-candidate review, round 4 (browser test)”
  • The “HTTPS is not set up” strip is visible without scrolling (T-F1): it is a row of the console shell (between the header and the page), at desktop size and on a narrow window. It is amber for the supported loopback fallback; red stays for real refusals (a locked console, an unreadable config).
  • A break-glass sign-in reaches Home at once (T-F3): the page used to wait up to 20 s for a vault connect that a sign-in never starts. Now it reads the status once and goes to Home; with no service account (or one that connects manually) Home says the vault is not connected and where to set it up.
  • The sign-in lock-out text is accurate (T-F2): “Failed attempts from other browsers or programs do not lock out a browser that has signed in here before”; the recovery (Set-HarborWebLogin -Username <account name>) also ends every existing session of that account.
  • A failed SSO save saves nothing (T-F8): the issuer’s discovery document is checked first; a failure is an error in the wizard and the SSO configuration stays as it was. A CyberArk sign-in that cannot start shows a styled page with a link back (it was a bare text 500).
  • The demo profile refuses a service-account save (T-F6): “The demo profile uses the sample vault; no service account is needed.” (it used to say “saved”, write an audit line and then read back as none).
  • Time travel with fewer than two compliance scans says so instead of a server error, and names no PowerShell command; Compare stays disabled until two different scans are chosen.
  • Smaller: an empty environment-variable name (and blank names) is refused on a service-account save, and the form starts from Harbor’s own variable (T-F5); Remove service account asks first (T-F7); a tenant save says a stored secret was removed only when one actually was (T-F10); the service-account form shows only the fields for the chosen kind and secret source and clears values that go out of view (T-F11); a malformed /api/auth/break-glass body is a 400, not a 500 (T-F12); a setup wizard with every step skipped ends on “Setup skipped; you can finish it in Settings” (T-F9); the break-glass password must use at least 5 different characters and must not be built from a short built-in list of common passwords (for example passwordpassword, Welcome2026!) (T-F4).

Security – release-candidate review, round 5

Section titled “Security – release-candidate review, round 5”
  • The SSO wizard’s issuer check can no longer probe the Harbor host’s network (security R4-1). Saving SSO from the web makes the server fetch the issuer’s discovery document; that fetch is now fenced: https only; every address the issuer’s name resolves to must be public (loopback, link-local incl. the 169.254.169.254 metadata address, RFC1918, CGNAT 100.64/10, IPv6 unique-local / link-local, 0.0.0.0 / :: and multicast are refused, also inside IPv6), and the connection goes to the address that was checked; no redirects (a 3xx is refused); at most 64 KB; 5 s to connect and 10 s in all. The wizard hears one of five fixed reasons (“issuer unreachable”, “not an OIDC discovery document”, “issuer mismatch”, “internal address refused”, “redirect refused”) – never the response body or the connection error, which used to tell open, closed and filtered ports apart. The discovery document’s issuer must now be the issuer you entered.
  • The check no longer holds the console’s write lock: it runs before it (a new -Prepare step on the route table), so other changes on the console never wait on it.
  • A CyberArk sign-in that cannot start shows only the HTTP status the identity provider answered, never its response text (the page is shown before sign-in).
  • An issuer saved from PowerShell (Set-HarborSsoConfig) is not fenced: an internal identity provider still works when configured on the machine.

Fixed – release-candidate review, round 5

Section titled “Fixed – release-candidate review, round 5”
  • Harbor Home’s embedded Health Check fills the window on a narrow screen (code R4-1): at 820 px or narrower the frame was 150 px tall.
  • Time travel: latest (or previous) against that scan’s own name is refused as the same scan twice (code R4-4).

Fixed – release-candidate review, round 6 (docs build)

Section titled “Fixed – release-candidate review, round 6 (docs build)”
  • Re-running SSO setup no longer turns operators into viewers (W1). Set-HarborSsoConfig (and so the SSO wizard and POST /api/sso-setup) rewrote the role map with the admin and viewer lists only, so under D19 every listed operator silently became a viewer. It now takes -OperatorUsers, and every role list merges: a list you do not pass keeps its current value, an explicit empty list (-OperatorUsers @()) clears it. Admins are still only ever added. The SSO wizard (first-run step 2, and Settings -> Operator sign-in) has Admins, Operators and Viewers fields, pre-filled from the current map (new admin-only GET /api/sso-setup); a map that could not be read is never cleared by a save. The SSO change history records the actor and a COUNT per role list (and for allowedUsers) – never the names, since every signed-in user can read that history.
  • Help text that contradicted D19 and the explicit service account (W2): the shipped environment.json now says an SSO user not in the role map is a VIEWER (and its sample role map has an operator list); Register-PAMComplianceSchedule, Invoke-PAMComplianceScan and the Invoke-HarborComplianceScan.ps1 runner describe the declared service account instead of a secret “saved on the first UI connect”; the Set-HarborAssistant example no longer suggests a machine-wide environment variable (user scope, or SecretManagement). The client runbook and operator guide say the same.
  • Uninstall-HarborService -RemoveCertificate removes the current certificate (W3). It looked only for FriendlyName Harbor Onboard Web, but Initialize-HarborTls names its certificate Harbor Web, and neither the trust copy in LocalMachine\Root nor Harbor Health’s 8788 binding was removed. It now removes Harbor’s certificates under either name from My AND Root (only a server-authentication leaf with Harbor’s FriendlyName / subject; your own certificate is never touched, and one still bound on another port is kept). The https bindings on 8787 and 8788 are deleted only when they point at a Harbor certificate; any other binding is kept and named in a warning. Uninstalling Harbor Onboard always removes Harbor Health’s 8788 binding too, when it points at a Harbor certificate: both consoles share that certificate, so it is Harbor’s either way. If you keep Harbor Health installed on its own, run Initialize-HarborTls -Port 8788 again (elevated); until then it falls back to http on loopback with a warning.
  • Get-Help now has a description and examples for every command: .DESCRIPTION added to Disconnect-PAMSession, Get-HarborConfigDocument, Get-HarborService, Get-HarborTlsStatus, Get-PAMAccountRegister, New-HarborImportTemplate, Test-PAMConnection, Uninstall-HarborService and Unregister-PAMComplianceSchedule; .EXAMPLE to Disconnect-PAMSession, Get-HarborConfigDocument, Get-HarborTlsStatus, Get-PAMComplianceSchedule, Test-PAMConnection and Unregister-PAMComplianceSchedule.

Security – release-candidate review, round 7

Section titled “Security – release-candidate review, round 7”
  • SSO change history saved before round 6 no longer shows names (security R6-1). Those records still held the role lists and allowedUsers as names, and every signed-in user can read the history (GET /api/config-changes, Get-PAMConfigHistory). Every SSO record is now served with those lists as {"count":n}, whatever its age; the files are not rewritten.
  • A role-map save is in the activity log: every SSO setup save writes one line with the actor and the count per role (admin n, operator n, viewer n), never the names, as the tenant and service-account saves already did. Set-HarborSsoConfig returns those counts as RoleCounts.

Fixed – release-candidate review, round 7 (polish)

Section titled “Fixed – release-candidate review, round 7 (polish)”
  • The SSO wizard’s Admins, Operators and Viewers fields stay disabled until the current role map has loaded, so a name typed early can no longer replace a list. If the map cannot be read, they stay disabled with a note and the save leaves the role lists as they are.
  • The uninstall’s certificate-store reads dispose the certificate objects they open (W3 follow-up).
  • A console’s own SSO sessions keep their role while SSO is switched off (security N-4): turning SSO off does not end the SSO sessions this console issued; they live until idle or the 12-hour cap. Sessions imported from the sibling are already treated as viewers. To cut them off at once, restart the console.
  • The demo latch is one-way (security N-6): a console that STARTED on a demo profile may become gated and then demo again. If a real tenant was connected in the gated stretch, the return to demo serves that session to every local caller. It needs two config edits by the store owner; restart the console after changing a demo profile into a real one.
  • A browser that never signed in successfully (no device cookie) can be held at 429 by a local process sending wrong passwords (residual (a)); Set-HarborWebLogin on the machine clears it.
  • A config file that is DELETED (not replaced) keeps a running console on its last known sign-in state until restart. Disable the break-glass account with Set-HarborWebLogin -Disable.
  • After a tenant move, an admin can re-declare an env or SecretManagement secret source (security R2-2). The move drops the stored DPAPI secret, but the web may straight away declare secretSource: env (HARBOR_OAUTH_SECRET / HARBOR_SVC_*) or secretManagement (any Harbor* name), and the existing secretManagement block survives – so an admin can still send such a secret to the new host. It takes a deliberate admin action and is audited twice; check the declared source after moving a tenant.
  • -SetupTls does not check the folder ABOVE the Harbor tree (security L-4 residual): a standard user with delete-child rights on the parent could swap the whole tree between the elevated window’s check and its import. Install under %ProgramFiles% (admin-only parents).
  • -SetupTls accepts any valid Authenticode signer for the “signed” alternative, not only Harbor’s publisher (security L-4 residual). Trust only signed releases you verified with Verify-HarborRelease.ps1.

Phase 3 session 2 of the path-to-1.0 plan: a bounded runspace pool runs every request handler off the accept thread. This release includes the round-2 code and security review fixes. Design: the internal design notes.

  • Requests are now handled concurrently. Every security check still runs on the accept thread, before any handler runs: Host/Origin, CSRF, the operator gate, roles, the profile pin, the request context and S7 re-auth. The handler of every /api route then runs on a pooled runspace:
    • The request pool has 4 runspaces (2 warm). -Async routes and system ticks run on a separate job pool of 2 (1 warm). A long scan can never starve the console.
    • The new profile knob is "webPool", for example { "size": 4, "warm": 2, "jobs": 2, "queue": 16, "jobQueue": 8, "requestTimeoutSeconds": 300, "jobTimeoutMinutes": 30, "drainSeconds": 10, "bodyTimeoutSeconds": 10, "abandonSeconds": 30, "perCaller": 8, "perAnonymous": 2 }. All values are clamped. "webPool": false restores the old inline loop, running the same handler code.
  • 503 and 504.
    • 503 + Retry-After: 2 (busy: true): the pool, the job pool, or the caller’s share is full. No single caller may hold more than perCaller requests (perAnonymous when signed out). One job slot is always reserved for the console’s own monitoring work.
    • 504 goes only to a READ that passes requestTimeoutSeconds, and it now says the request “may still complete – check before retrying”.
    • A write is never stopped mid-way. A stopped pipeline skips the catch-based rollback (for example a partial safe create), so a write always runs to completion. Shutdown also waits for writes.
  • Writes are serialized console-wide (one at a time, as before the pool). Reads run in parallel.
  • /api/_stop and Ctrl-C drain in-flight requests before the console exits.
  • Console-wide state has a single owner, the edge:
    • A pooled handler starts from a snapshot and hands its changes back. The edge applies them before it gates the next request.
    • Config writes invalidate the cache through Clear-HarborConfigCache.
    • The API counters reset in place.
  • A pool whose runspaces cannot load the module is detected when it opens, so the console serves inline from the start. Three failures in a row at runtime also switch the console to inline.
  • /api/_clientlog now requires the CSRF header. The SPA sends it.
  • Slow-body DoS fixed (review SEC M-2). One caller trickling a request body, including the anonymous client-log channel, used to freeze the whole console. Bodies are now read asynchronously: the loop keeps serving, and a body that is not complete within bodyTimeoutSeconds gets 408. The http.sys timers are tightened as well.
  • A refresh token is spent once (MAJ-4 / L-4). A background job works on a copy of the session. Before refreshing, it adopts tokens its owner already received, and it writes a refreshed pair straight back. On an IdP with rotation and reuse detection, the second spend used to revoke the operator’s whole token family.
    • Refresh locks are per session, and they time out (L-6).
  • No secrets are left in idle runspaces (L-1). Pooled items run in a local scope and drop their body, tokens and listener context (raw sid cookie) when they finish.
  • Sign-out reaches queued work (L-3). A queued item of a signed-out operator answers 401 without running its handler. A running item makes no further vault call.
  • The accept-thread SSO steps have time limits: the PVWA check is 15 s with no retries. The anonymous login-start store is capped at 256 entries.
  • Stale state never overwrites newer state (MAJ-3 / M-1; this replaces owner default P4).
    • A disconnect sent while a slow connect is still running now wins: the console ends disconnected.
    • A cached CPM list collected on the old tenant is never served after a connect to a new one.
    • Writes run on the latest committed service session, in dispatch order.
  • Two safe creates in parallel can no longer allocate the same UID. The UID is re-checked under the register lock, and a clash returns 409.
  • Every atomic file write now uses a unique temp name. No more shared .tmp collisions.
  • A pooled thread never adds a member to a shared session object.
  • A stuck read is abandoned and replaced; it no longer holds a slot forever.
  • The effect drain can no longer be skipped by an error.
  • Unpolled background jobs are swept 15 min after they finish.

Phase 3 session 1 of the path-to-1.0 plan: the per-request context, which closes the shared-vault-session identity inversion, and every route handler moved into the route table. Includes the round-2 code + security review fixes and the owner decisions of 2026-11-13 (D1-D7).

  • Sign-in sessions carry each operator’s own vault identity. An operator who signs in with CyberArk SSO (and whose token PVWA accepts) now has a vault session of their OWN, kept under their sign-in. It used to become the one console-wide session, so the next operator’s requests reached CyberArk as the first one, a second sign-in re-pointed everyone, and one sign-out disconnected everyone. Logout, expiry and an abandoned sign-in (a sweep about once a minute) drop only that operator’s token.
  • Connect is now admin-only when a login gate is on (owner decision D3). POST /api/connect sets the console SERVICE session – the vault identity of every operator without one of their own – so an operator could make their personal CyberArk logon everyone’s identity (security review H-1). A disconnect that would drop the service session is admin-only too; an operator may still drop their OWN SSO vault session. Ungated installs (the owner) are unchanged.
  • An operator’s disconnect / connect now sticks: the next request no longer re-creates their vault session from the sign-in record (MAJ-1), and the record’s encrypted token bundle is removed (here and in the shared store).
  • A failed connect never drops or re-mints the session that was serving (MIN-4 / L-3); the refused-SSO fallback leaves a working service session alone instead of reconnecting it for everyone (L-2).
  • Every request runs under ONE context built by the edge: who is asking, their role and last identity proof, which vault session serves them and its run id. Background jobs receive it explicitly (a plain-data seed + a session snapshot) and read no global; the cmdlet layer’s identity is bound from it and always reset.
  • A token refreshed inside a background job goes back to its owner’s slot only – never to another operator or the service session (MIN-6).
  • When an operator works on the service session, audit records read <operator> (vault: <service identity>) (D2 attribution), so Harbor’s trail and CyberArk’s can be reconciled.
  • An operator whose own SSO token expired and cannot refresh falls back to the service session and is told once (/api/status vaultNotice, a toast).
  • Shared results say whose rights collected them: CPM-discovery entries carry CollectedAs (shown on Discover). The caches stay console-wide (D5).
  • /api/status gains vaultSource (user | service | none) and vaultNotice.
  • Route handlers live in the route table (Register-HarborRoute -Handler -Depth); background-job results serialize at the route’s declared depth (was a flat 12). Start-HarborApiJob moved into the platform.
  • A per-operator disconnect no longer wipes the console-wide CPM cache (MIN-8).
  • Nested request bindings restore the outer operator instead of clearing it.

Security work order S1 (the 2026-11-10 suite audit, Priority 1 + 2) and the 2026-11-10 browser tester’s Critical / High / Medium bugs, plus the v0.54 full test report addendum.

  • C1 The shared store is a trust boundary. %ProgramData%\Harbor is created atomically with its DACL (SYSTEM + Administrators + the creator), re-hardened at every import and server start, and the web server refuses to start when the folder or its files are owned or writable by anyone else. Secrets once written with LocalMachine DPAPI are migrated to CurrentUser.
  • H3 Session-record integrity. Every shared session record carries an HMAC (a per-store key, DPAPI-protected); a record with a missing or wrong MAC is dropped. The session mutex is Global\ where the process may create it.
  • H1 /api/_stop checks the session STATE (it treated any session object as valid) and requires the admin role.
  • H2 + H6 A request can no longer choose where its parameters come from (mutating routes read the body only, so the S7 re-auth check and the handler see the same values) or which config profile it runs against (the server’s pinned profile; naming another is a 400).
  • H5 SSO setup merges into the existing appAuth block, requires an https issuer, is admin-only + destructive (re-auth), and is recorded in config history.
  • M1 State-changing GET routes are CSRF-checked operator POSTs.
  • M2 The pre-gate /api/auth/* routes are POST + CSRF only.
  • M3 OIDC: the state is bound to the browser (a short-lived HttpOnly SameSite=Lax pre-auth cookie), discovery / authorize / token / JWKS endpoints must be https, exp is mandatory, azp is enforced.
  • M4 Background jobs run as the operator who started them (audit lines name them) and belong to their session (another session polling a job id gets 404).
  • M6 CSV exports neutralize formula-leading cells (= + - @ TAB CR).
  • M7 Re-confirm requires a valid session and the same kind of proof that created it (an SSO session re-confirms through SSO).
  • M9 -AllowRemote is refused without -Https and a login gate.
  • L1 A signed-out caller of /api/status gets only what the login screen needs. L2 Local login hashes are PBKDF2-SHA256 at 600k iterations, upgraded on sign-in, with timing-equal verification for unknown users. L4 Task Scheduler commands validate and quote profile names. L5 . / .. path segments are refused before any API URL is built. L6 Request bodies are capped (1 MB; 16 MB for the CSV imports; 64 KB pre-gate) and answered 413. L9 The assistant routes need the operator role.
  • Undo never decommissions a safe the run did not create (tester C1): register entries record their origin (create / sync / accept); imported and accepted legacy safes are left alone and reported.
  • UID allocation sees the vault (C2): UIDs already in vault descriptions are reserved even when the register was never synced, and the dry-run preview says so (plus the stale-sync and offline-provisional warnings).
  • “Create for real” creates exactly the previewed plan (C3): the button posts the previewed request with expectedSafeName, refuses an edited form, disables after use; a duplicate or stale plan is a 409, bad input a 400.
  • Permissions read correctly (H4): the demo vault stored request hashtables and ignored member PUTs, so every member read as “Count, Keys, Values, SyncRoot” and Fix drift never converged; one hashtable-safe reader and a wire-shaped demo vault.
  • Audit chain no longer reports TAMPER after normal use (H5): one writer at a time per log file (named mutex) with a tail that is re-read whenever another writer appended.
  • Bulk CSV validation answers 400 with the per-row errors (H6), rendered in the console.
  • Timestamps go out as ISO-8601 UTC with a Z (H7), and the console shows local time with its zone (M17); Activity rows show a time.
  • Request flags are parsed explicitly (addendum 1): a full compliance scan (skipDrift 0 / false) runs drift and shows grades; members=0 omits members.
  • Fix drift never plans to remove a personal safe’s owner (addendum 2); a removed owner is reported missing and re-added as a User.
  • Validation errors are 400s in operator words (addendum 4), not 500s with PowerShell parameter-binding text.
  • Evidence names who did it (addendum 5): the signed-in operator, else the connected vault identity; the monthly summary no longer counts accepted legacy safes as created.
  • Demo reconnect never needs a pvwaUrl (addendum 6): a partial demo block seeded by a sibling product is completed from the bundled profile; Save CPMs creates environment.local.json when it is missing; Disconnect asks first.
  • Dialogs (addendum 7): the welcome tour, setup wizard and SSO wizard are kit dialogs (focus, Tab trap, Escape); the account and gear menus close on Escape; fast navigation can no longer stack two pages (navigation token).
  • Mediums: the raw-response viewer no longer crashes on a one-key response; no literal “null” text; undone accounts leave the Home count; “In register” reads Yes / No; the naming budget’s worst case is no longer shown as an error.
  • Service mode no longer runs code out of the data store (H-1, privilege escalation to SYSTEM): Install-HarborService deploys the module to %ProgramFiles%\Harbor (admin-only) as a MIRROR with ownership reset to Administrators; %ProgramData%\Harbor keeps data only, and a pre-0.55 install’s code is moved out (Logs / Register / local config come along) and removed from the store. Launch-Harbor.ps1 refuses, BEFORE importing anything, a code tree with any item not owned by SYSTEM / Administrators / TrustedInstaller (logged, exit 3). Uninstall -RemoveFiles targets the code root, never the data store.
  • Sign-in sessions are bound to the console profile that issued them (M-1): a session minted on a demo console is not valid on the console serving the real tenant; a demo BYPASS session is never shared. The session MAC input is length-prefixed (a newline in a Name claim could shift field boundaries) and covers the profile.
  • A console under another Windows account no longer loops at sign-in (M-3): when it cannot use the session key, shared sign-in is OFF for that process (with one warning) instead of evicting every new session.
  • Store hardening works for a standard user on every run (M-2: DACL-only writes), runs once per process (not per job runspace), and the web server refuses a store it could not harden unless HARBOR_ALLOW_UNHARDENED_STORE=1. No LocalMachine DPAPI secret survives in a .bak (L-1).
  • Audit and session locks are exclusive lock FILES (serialize across logon sessions and accounts, cannot be squatted): an audit write that could not get the lock is MARKED unserialized (hash-covered) and verified as a warning, never silently appended; a session change that cannot get the lock fails instead of running unlocked.
  • The S7 destructive re-auth check lives in the Platform edge (asked before job and inline dispatch), not in Onboard’s dispatcher.
  • A trailing dot or space in a safe / member / account name is refused at the API chokepoint (Windows PowerShell 5.1 dropped it from the URL and acted on another name). With no console login, evidence reads anonymous-local (vault: <identity>). -AllowRemote is refused when the testing bypass is the only gate; the OIDC binding cookie is one-shot and azp is compared exactly.
  • The setup wizard’s “Save & connect” no longer posts a profile (the H6 edge answered 400 on any console not serving ‘prod’).
  • Undo is fail-safe: an entry without a positive “Harbor created it” marker (origin create, or New-PAMSafe’s postVerify) is left alone, and an entry that comes back from missing-from-vault returns to its previous status.
  • A 4xx is reported only for an explicit marker (New-HarborHttpError, the CSV row errors, a binding failure of the cmdlet the route called); internal faults are 500 again, with the detail in the server console.
  • Duplicates are classified by the vault’s HTTP status, not message text; the create is bound to the previewed UID (409 “plan is stale”); a live create re-reads the vault’s UIDs and refuses to allocate blind.
  • The Tenant & Service Account page targets the SERVED profile (it pre-filled “prod” on a demo console, so a save rewrote the production profile’s tenant). A save for another profile is refused (409) unless “New profile” is ticked.
  • A tenant save no longer silently changes the suite’s default profile: only with “Make this the default profile” (off), or the first-run wizard on a fresh, unconfigured install. Initialize-HarborConfig -SetDefault IfUnset|Always|Never (the CLI keeps IfUnset).
  • The last fleet zone can be deleted (an empty list is valid); a failed zones save re-renders from the server instead of leaving the dialog out of sync.
  • Destructive confirms open with focus on Cancel, enforced in the web-kit (no dialog opens on a .danger control).
  • Destructive actions ask first: Fix drift that removes members (naming them), a real bulk import (with its row count), delete from the vault (the safe name or run id must be TYPED), and Health “Reset to defaults”.
  • Exception names ending in “.” / space, the other New-PAMSafe / Approve-PAMSafeException input refusals, and onboarding to a missing safe answer 400 / 404 instead of 500.
  • One zone-marked local time format across the console (Passport, Recent Activity, change history, monthly summary, exceptions); the .log line, the CSV export and the HTML report stamp ISO-8601 UTC with a Z, like the .jsonl; the schedule time says it is the server’s local time.
  • The vault evidence export (exportedBy) and every audit record (actor) name who acted (operator, or anonymous-local (vault: <identity>)).
  • “Create for real” disables as soon as the form is edited after a preview.

Phase 2 (session 3, part 4): the suite web-kit — the last Phase 2 item.

  • Platform/WebUI/harbor-kit.js, the one client-side primitive set both consoles share (canonical in harbor-platform, vendored byte-identical, on the drift list). A classic script exposing a single window.HarborKit global: api() / apiAsync() (CSRF header, {ok,data,error} envelope, background job polling with the 4-minute ceiling), h() / svg() (XSS-safe DOM builders — every non-Node child becomes a text node; handlers are attached with addEventListener, never as attributes), dialog() / modal() (focus trap + focus restoration), toast(), and siblingBase() (sibling-console URLs from the /api/status suite map). Product reactions plug in through HarborKit.configure() — Onboard registers its debug trace, the session-expired login gate and the S7 identity re-confirmation.

  • The web edge serves /harbor-kit.js from the vendored Platform tree, exactly as it serves /styles.css; index.html loads it before app.js.

  • Edge harness (+6): the kit is served as JavaScript, byte-identical to the Platform file, with no wwwroot copy; nothing else under Platform/ is addressable (raw paths, .ps1 names, case variants, %2e%2e traversal); an operator gets 403 on POST /api/zones and POST /api/sso-setup before the route runs, while an admin passes the gate. Route table (+2): the admin-only POST set is pinned.

  • Node smoke harness loads the kit first (as the browser does) and checks it: <img src=x onerror=…> handed to h() stays a text node, api() sends X-Harbor-Csrf, a 401 opens Onboard’s login gate through the hook, siblingBase() honours the suite map, the .lk keyboard upgrade survives, and the modal traps Tab and returns focus to its trigger on Escape.

  • Review round 2 tests: edge harness +3 more (HEAD on static assets, 405 on every other method, Windows alias paths refused) — 36 in all; the admin-gate assertion now signs in for itself instead of borrowing an earlier test’s session. Smoke harness: an OPERATOR status renders the Home fleet without zone controls and the Tenant page with its banner and disabled saves; the boot decision (now the pure bootDecision()) sends a non-admin on an unconfigured install to Home; the zones manager survives Escape; and a shared markup scanner (also catching 'html':, el['innerHTML']=, Object.assign(..innerHTML..)) runs over app.js and the kit, self-tested against planted violations.

  • app.js no longer carries its own api, apiAsync, h, modal, toast, siblingBase or CSRF read — it destructures them from HarborKit. Behaviour is unchanged apart from the notes below.
  • The governed-exception dialog, the fleet-zones manager and the live-sessions drill-down now open through HarborKit.dialog(), so they gain the focus trap, Escape-to-close and focus restoration (the zones manager deliberately keeps ignoring backdrop clicks so a stray click cannot discard an edit).
  • “Stop server” asks through the branded modal instead of the native confirm().
  • The background-job ceiling message is now the suite-wide wording.
  • The fleet-zones manager no longer closes on Escape: Escape used to discard the zone edits in progress (only Cancel discards now).
  • The non-admin Tenant-page banner now says how to get an admin when none exists (Set-HarborWebLogin -Username <you> -Role admin, or Set-HarborSsoConfig ... -AdminUsers <you>, then restart).
  • Kit dialogs: closing a dialog that is not on top no longer moves focus behind the top one (dialogs opened from it inherit its opener, so focus still finds its way home), and an overlay removed by other code stops trapping Tab/Escape.
  • POST /api/sso-setup and POST /api/zones are admin-only (operator decision, locked). The 0.53.0 route table preserved operator access because the old adminOnly list never named them; /api/sso-setup repoints the identity provider every operator signs in through. The SPA follows suit: Arrange servers / Manage zones render only for admins, the Tenant & service account page tells a non-admin the settings need the admin role and disables its save buttons, and an unconfigured install no longer auto-opens the setup wizard for a signed-in non-admin (they land on Home with a pointer instead).
  • h() drops a non-function on* value instead of setting it as an attribute, and drops javascript: / vbscript: values from href / src (whitespace and control characters inside the scheme are stripped before the check).
  • The static allowlist for Platform assets is an exact, case-sensitive name match against the whole request path — no path is ever mapped into Platform/, so the plumbing beside the web assets cannot be served.
  • The last six html: users in app.js are gone: the sparkline, the two login-logo icons, the delta chips and the severity donut are built with svg() / h() / icon() (deltaChipHtml / sevDonutHtml became the DOM builders deltaChip / sevDonut), and the stopped-server page no longer concatenates markup.
  • Review round 2, the kit (both consoles):
    • No raw-markup hatch any more: h() / svg() drop an html attribute (and innerHTML / outerHTML / srcdoc); nothing that goes through the kit can become HTML.
    • Attribute names are checked lowercased and must match ^[a-z][a-z0-9:-]*$ or are dropped; { onClick: fn } is now a live listener (it was silently dead) and { ONCLICK: 'x' } can never become an inline handler.
    • URL attributes take an allowlist — relative, #, http:, https:, mailto: — instead of a javascript:/vbscript: blocklist; poster, ping, background, data, cite, codebase are now checked too.
    • The CSRF header rides same-origin requests only (new URL(path, location.href).origin === location.origin), so a caller-supplied absolute URL can never carry the per-server token to another origin.
  • Review round 2, the edge (both consoles):
    • Static files answer GET/HEAD only: other methods get 405 with Allow: GET, HEAD; HEAD returns the GET headers with no body (it used to throw “exceed the Content-Length” and answer 500).
    • Windows alias paths are refused: a ‘:’ anywhere (NTFS streams — /index.html::$DATA used to serve the raw shell) or a segment ending in ‘.’ or ’ ’ (/app.js. used to serve app.js), checked on the path, its URL-decoded form AND the raw request target – WPS 5.1’s .NET Framework Uri strips trailing dots before the app ever sees the path.
    • The wwwroot containment check compares against the root WITH a trailing separator, so a sibling directory sharing the prefix can never pass.

Phase 2 (session 3, part 3): routes are data.

  • The declarative route table. Route knowledge used to live in four places: the dispatcher’s regex switch, a hand-kept $asyncRoutes list inside the web server, an adminOnly array inside Test-HarborRouteAllowed, and a destructive-route switch in HarborReauth.ps1. Adding a route meant remembering four files. Each product now declares its routes once — Private/Web/HarborRoutes.ps1 — and the platform reads the properties off them: the edge asks -Async, the role gate asks -MinRole, the S7 re-auth check asks -Destructive (or -DestructiveWhen for repair, which is destructive only when it removes members).
  • The shared auth stack no longer knows about either product’s routes. The adminOnly list in Test-HarborRouteAllowed named paths from BOTH consoles, so Health’s auth stack carried Onboard’s route names and vice versa. It is replaced by a role-rank comparison against the route’s declared MinRole.
  • Start-HarborWeb no longer passes -AsyncRoutes; the parameter is gone from the platform server.
  • An unregistered mutating path is now refused below admin instead of reaching the dispatcher’s 404 — a route nobody declared must not execute off a default. Reads still fall through to the 404 so callers see the honest status.
  • Tests/RouteTable.Tests.ps1 (11 assertions): scrapes the dispatcher’s switch and proves the table and the switch describe exactly the same set of routes in both directions, so the two cannot drift while handlers still live in the switch. Also pins the async set, the viewer-POST set, the destructive behaviour, and that the shared auth stack contains no product route names.
  • Two configuration writes, POST /api/zones and POST /api/sso-setup, are reachable by an operator today because the adminOnly list never named them. That is preserved exactly — a refactor must not quietly re-authorize anything — and flagged in the table. Raising them (especially /api/sso-setup, which repoints the identity provider) is a decision to take deliberately.

Phase 2 (session 3, part 2): one web edge for the whole suite.

  • Start-HarborWeb is now a 63-line wrapper (was 682). The accept loop — and with it every security-bearing behaviour: the Host/Origin guard, the per-server CSRF token, the operator gate (local + SSO), role enforcement, session-cookie flags, the static-file sandbox, the CSP and the authenticated /api/_stop — moved into Platform/Web/Start-HarborModuleWeb.ps1, canonical in harbor-platform and shared byte-for-byte with Health. The two servers were 86% identical and had already drifted once (Health’s dead per-route Depth, fixed in its 0.12.0); there is now one implementation to review, test and fix. Across the suite: 1,351 lines of web server → 922, and the security boundary is singular.
  • Products now declare only what genuinely differs: -Router, -AsyncRoutes, banner/hint text, the CSP neighbours they embed or are embedded by, the read-only paths a sibling shell may fetch cross-origin, and three lifecycle hooks (-OnBeforeListen, -OnRequest, -OnJobResult) that carry Health’s monitoring ticks. The CSP is assembled in the platform from those declared neighbours instead of hardcoded :8788 / :8787 strings.
  • The edge harness proved the refactor: 27/27 assertions passed against the extracted server without a single edit to the tests. That is exactly why it was built first, and it is the contract for the route-table work next.
  • Platform-tree guard raised to 22 files in both products’ loaders.

Phase 2 (session 3, part 1): the web edge finally has tests.

  • Start-HarborWeb edge harness (Tests/WebEdge.Tests.ps1, 27 assertions). Every other suite exercises the router; the security boundary itself — the accept loop — had zero coverage. The harness launches the real server on a free loopback port in a separate runspace of the test process (no child shell, no admin rights) and speaks raw HTTP over a TcpClient, because the whole point is forging the Host, Origin, Cookie and X-Harbor-Csrf headers a client library normalises away. It is hermetic: the server runspace seeds the module’s config cache from a temp folder on a demo profile, so nothing reads real config, writes the real register, or makes a network call. Covered: CSRF-token substitution into the SPA shell; the CSP / nosniff / no-store headers; styles.css served byte-identical from the Platform tree (and no wwwroot copy); the /api/status suite map; the Host allowlist (DNS rebinding); a cross-site Origin on mutating requests (and the deliberate pass for safe ones); missing / wrong / correct CSRF token; the static-file sandbox against traversal; the pre-auth allowlist; 401 on every gated route until sign-in; bad-password rejection with no cookie; the HttpOnly / Path=/ / SameSite=Lax / not-Secure-on-http cookie flags; forged session ids; sign-out; the W6 login throttle; role refusal before the route runs; and /api/_stop refusing both a missing CSRF token and an unauthenticated caller before it finally stops the server.
  • Set-HarborWebLogin -Role (admin | operator | viewer) — the break-glass local account can now be narrowed, e.g. to a read-only auditor console.
  • The local login’s role was never applied. The web edge has always read a Role off the appLogin config object, but nothing ever wrote one, so every local sign-in silently became admin. Get-HarborWebLoginConfig now returns a Role (default admin — this is the break-glass path); an unrecognised value falls back to admin rather than minting a session with a role New-HarborAppSession rejects. Shared Platform file: Health picks it up too.

Phase 2 (session 2): the suite map + single-source stylesheet.

  • -Https no longer breaks the suite shell. /api/status now serves a suite map (scheme + port per console); the SPA derives the embedded Health console URL, the Home fleet reads and the liveness probe from it (with a location.protocol fallback) instead of hardcoding http://…:8788 — which produced mixed-content blocks and wrong-scheme links in the very deployment mode built for production. Health’s Harbor-Home links likewise (v0.14.0).
  • styles.css is single-sourced from the vendored Platform tree (canonical: harbor-platform); both consoles serve /styles.css from it and the wwwroot byte-copies are deleted. The drift-gate entry follows the file.
  • Phase 2 re-sequencing note: the genericized platform web server + route table land AFTER the Start-HarborWeb edge harness is built (refactoring the untested security boundary without tests is the wrong order).

Phase 2 (session 1) of the path-to-1.0 plan: the HarborPlatform extraction — the copied-plumbing era ends.

  • The 21 suite-shared plumbing files (CyberArk API chokepoint, the full auth/session/SSO stack, suite-shared config, logging + audit chain, service support) now live in the canonical harbor-pam/harbor-platform repo and are vendored at HarborOnboard/Platform/, dot-sourced into this module’s scope (deliberately not a nested module: these functions operate on this module’s $script: state — that constraint lifts with the Phase 3 per-request context). The duplicated copies under Private/ are deleted.
  • Propagation is now Sync-HarborPlatform.ps1 (three-way, newest-wins or forced direction) instead of hand-copying; Test-SharedPlumbingDrift.ps1 + CI still prove the trees match. The psm1’s 24-file existence guard became a Platform-tree guard.
  • Deliberately product-specific and NOT extracted: Get-HarborConfig, Get-HarborDemoResponse, Start-HarborApiJob, Connect/Disconnect-PAMSession, the web servers/dispatchers (next session: genericized server + route table + web-kit), and styles.css (moves with the web-kit).

Phase 1 of the path-to-1.0 plan: release/docs inversion.

  • CHANGELOG.md (this file) is now the hand-authored source of truth. The build copies it into the staged module; the manifest ReleaseNotes shrank from a 43 KB single-line string (93% of the manifest) to a short summary — manifest diffs are reviewable again and private-feed metadata stays sane.
  • An item about internal developer documentation is omitted here.
  • Start-Harbor.ps1 (interactive console launcher): stale since v0.10.2, reached 19 of 55 cmdlets, and never shipped in the release zip. The web console (Harbor.cmd / Launch-Harbor.ps1) is the product UI; the CLI is the module itself (Import-Module HarborOnboard).
  • ConvertTo-HarborChangelog (the psd1-to-changelog generator) and the -UpdateRepoChangelog build switch — obsolete under the inverted flow.

Phase 0 of the path-to-1.0 plan: security hardening + release engineering, following the 2026-08-10 full-project review.

  • The suite-shared store (%ProgramData%\Harbor) now gets a restrictive DACL (SYSTEM + Administrators + the creating user) on creation and on first write. The default ACL let every local account read the DPAPI secret blobs and the session store.
  • sessions.json no longer contains presentable session ids: records are keyed by SHA-256(sid) (legacy records re-keyed lazily) and all read-modify-write cycles serialize under a named cross-process mutex.
  • DPAPI blobs (operator SSO vault bundles, stored OAuth service secret) use CurrentUser scope with legacy-LocalMachine read fallback. A SYSTEM service host must use HARBOR_OAUTH_SECRET or SecretManagement.
  • POST /api/_stop requires the per-server CSRF token and, under a login gate, a signed-in operator (any local process could previously stop the server, including SYSTEM service mode).
  • The testing login bypass (allowBypass) only functions on demo profiles; elsewhere it is refused, logged as ERROR, and no longer advertised.
  • Every response carries a Content-Security-Policy (stored-XSS backstop; the embedded Health console’s cross-port allowances are explicit).
  • OAuth token requests carry a 30-second timeout (a blackholed Identity endpoint could hang the server from inside the API chokepoint’s own refresh path).
  • Background job records are evicted once their result is delivered (plus a 15-minute sweep for abandoned jobs) — the Home dashboard’s 60-second tick used to leak one retained result payload per minute for the life of the server.
  • .github/workflows/release.yml: every v* tag push produces a self-signed, verified build with the zip + .sha256 + publisher .cer attached to a GitHub release (the signing tier’s first automated validation). Tags v0.6.0–v0.47.0 retro-tagged; main promoted current.
  • Cross-repo copied-plumbing drift gate: shared-plumbing.txt (25 files) + Test-SharedPlumbingDrift.ps1, wired into CI (sibling-token gated). Its first run caught and fixed a real fork in harbor-health.
  • An item about internal developer documentation is omitted here.

Wave B: the Harbor Home ops dashboard.

  • Home “Onboarding estate” card is now an ops board: vault account total from the guarded API count (never fabricated from a capped page), CPM-managed % labeled “(sampled)”, a live PSM sessions tile (defensive 15s/0-retry wrapper; a rights gap means no tile, never an error) with a session-table drill-down, and compliance posture chips (grade, naming exceptions, last-scan diff, next run).
  • GET /api/ops-dashboard: one fail-soft async compose (Get-HarborAccountKpi, Get-HarborLiveSessionSnapshot, shared Get-HarborComplianceHistoryTail); the demo vault seeds two live sessions.
  • The Home rogue-safes tile read a field the trend history never wrote (rogueCount vs rogue) and had never rendered.

Wave A: governed naming exceptions.

  • New-PAMSafe -Name <raw> -ExceptionReason <why> creates an exception-named safe: explicit opt-in, mandatory audited reason, vault legality checked, personal templates refused — and the policy guardrails still veto (guardrails outrank exceptions).
  • Approve-PAMSafeException / Revoke-PAMSafeException (exports 53 → 55): adopt an existing off-standard vault safe with audited evidence (who/when/why in the register); a declared safe type turns real RBAC drift auditing ON for that safe (group names derive from the raw name via the {SafeName} token); untyped accepts are tracked but drift-exempt. Revocation is offline-capable and returns the safe to the rogue report.
  • The visible Exceptions register: compliance summaries gain Exceptions/ExceptionCount, the HTML report a Naming-exceptions table, the trend history an exceptions count. Suppression happens at exactly one point (vault categorisation), so rogue detection and the scheduled-scan diff resolve an accepted safe automatically — acceptance never fires a new-drift webhook.
  • Bulk CSV exception rows (Name + ExceptionReason columns) and web accept flows (Create Safe toggle, Sync/Drift accept buttons, badges, passport + compliance disclosure; POST /api/safe-exception).

For 0.44.0 and earlier, see docs/CHANGELOG-ARCHIVE.md.

Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.