Release notes: Harbor Health
The release history of Harbor Health, newest first, as written in the CHANGELOG.md that ships in every release.
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.
0.22.0 (2026-11-28)
Section titled “0.22.0 (2026-11-28)”Docs integration on the shared platform. Harbor Onboard 0.59.0 has the full notes. No breaking change.
- Offline docs at
/docs/. The console serves<Module>\Docs\read-only athttp(s)://localhost:8788/docs/, without sign-in. When the release has no docs, it shows a short page with a link to https://docs.harbor-pam.com/. The route is listed in the route table asGET /docs/*(handled by the web edge). - A “?” help link on every page (bottom left, embedded in Harbor Home too). It opens
/docs/user-guide/health/<page>/in a new tab: overview, scan-results, remediation, history, reports, components, checks-and-rules, thresholds-and-tuning, about. The sign-in and first-run screens open the docs home. - An item about internal developer documentation is omitted here.
- Route summaries on every route (
Register-HarborRoute -Summary) for the generated API reference, and a help coverage test (.SYNOPSIS,.DESCRIPTIONand an.EXAMPLEon every exported command).Disconnect-PAMSession,Get-HarborHealthScheduleandUnregister-HarborHealthSchedulegained the missing descriptions and examples.
- 400 px wide screens. The console used to lay out at about 590 px on a phone. Now every page fits at 400 px: the header wraps, and a wide table (such as Remediation) scrolls inside itself.
- The edge test harness no longer writes under the module. The warm-up scan ran as
a background job that read the bundled config, so it logged into
./Logs. The job now reads the config the console serves, and the harness checks that nothing under./Logswas written. /auth/loginand/auth/callbackon a console without SSO answer in the standard shapes (a redirect with?authError=, or the JSONsso-disablederror) instead of a bare text 404.- The shared OIDC issuer check accepts chunked answers that carry trailers. The older certificate-store seams dispose the certificate objects they read.
- History, Scheduled scans card: it no longer says the first console connect stores the secret (stale since 0.21). It now says each run uses the profile’s declared service account and its declared secret source, which must be readable without a prompt by the Windows account the task runs as.
- About shows the installed version, and the profile of the connected vault session (no profile is shown while disconnected).
/docs/answers an unknown page with the docs’ own404.html(status 404).- The shared stylesheet’s header fixes (the account button and suite-nav hover ink) only reach Health when it is shown inside Harbor Home; Health’s own header is always dark.
- Review fix round 1: the “?” on the sign-in and first-run screens opens the break-glass and first-run docs pages. The break-glass password rule now counts any Unicode letter as a letter.
Security
Section titled “Security”- Review fix round 1 (the 0.59 security review, shared platform):
/docs/runs sandboxed (an opaque origin: no use of the console window, its cookie or its API), withAccess-Control-Allow-Origin: *on docs files only. The console’s HTML sendsCross-Origin-Opener-Policy: same-origin.- The docs bundle is pinned in
docs.lock, the same file in both product repos. The build checks the zip against it, and CI downloads that exact tag with no token. - A client that does not read can no longer hold the console: file answers are written asynchronously, with a deadline.
- The extractor ships only what the console serves, counts actual bytes and opens the zip once.
- The issuer fence decodes more IPv6 forms.
- The
/docs/route is traversal-proof, serves listed file types only (withnosniff, at most 2 MB a file), and has its own CSP: the console’s policy plus'wasm-unsafe-eval'for Pagefind,connect-srclimited to/docs/, and no framing. Every other path keeps the console’s policy unchanged. - The release build ships only a docs bundle that matches its
.sha256. It refuses zip-slip entries, scripts and executables, and an oversized bundle. - The shared break-glass password rules also refuse digits-only passwords, passwords
with one kind of character, and runs such as
123456orqwerty. The issuer SSRF fence refuses NAT64 local-use and Teredo addresses.
0.21.0 (2026-11-24)
Section titled “0.21.0 (2026-11-24)”Phase 3 session 3 on the shared platform: login default-ON, HTTPS by default, and the auth surface cut to SSO, the break-glass account, demo mode and an explicitly declared service account. See Harbor Onboard 0.58.0 for the full notes; design the internal design notes.
BREAKING – read before upgrading
Section titled “BREAKING – read before upgrading”- No sign-in configured = FIRST RUN. The console prints a one-time setup code and
shows a “create the emergency account” screen; nothing else answers until it exists
(or run
Set-HarborWebLogin -Username <you>– now exported by Harbor Health too). The break-glass account lives in the suite-shared config, so creating it at Harbor Home covers this console as well. - HTTPS by default once a certificate is bound (
Initialize-HarborTls -TrustRoot, elevated, once for both consoles.Launch-Harbor-Health.ps1 -SetupTls/Install-HarborHealth.ps1 -SetupTlselevate it for you (one UAC prompt) ONLY when no standard user can write the Harbor folder or every script is signed – e.g. an install under%ProgramFiles%; a per-user install (-Scope CurrentUser, the default) prints the exact command to run from an elevated PowerShell instead). Without it the console serves plain http on loopback with a warning. Bookmarks tohttp://localhost:8788stop working once https is on. Registerhttps://localhost:8788/auth/callbackin the CyberArk Identity app first. - SSO users not in the role map are VIEWERS (they were operators): list them under
appAuth.roles.operator/adminto keep write access (remediation updates, scans that write history are operator actions). - The testing bypass is gone (
allowBypassignored; demo consoles sign everyone in as the demo operator). The break-glass account is always admin. - The service account is explicit (
serviceAccount { kind, secretSource, connect }; OAuth and the vault-user logons both stay). Only the declared secret source is read; Harbor Health gains the SecretManagement source. Older profiles are read as the equivalent block and Harbor Home writes it down. Automatic scans need a service account withconnect: startup(or one an admin connects); a sign-in never connects one any more. - Embedded in Harbor Home, this console never signs anyone in itself – it points at Home, whose sign-in covers it (identity providers refuse to be framed).
- First-run setup screen +
POST /api/auth/bootstrap;POST /api/auth/break-glass;Initialize-HarborTls,Get-HarborTlsStatus,Set-HarborServiceAccount(exported from the platform); the opt-in TLS edge suiteTests/WebEdge.Tls.Tests.ps1.
Changed
Section titled “Changed”- One auth posture re-read on every config change (no restart after setting up sign-in).
__Host-session cookie on https; no HSTS; CSP frame-ancestors / CORS name Harbor Home for the active scheme only (the wrapper used to pass both schemes and a regex)./api/statuscarriesauthMode,bootstrapRequired,localLoginandtls; the suite map’s Onboard port comes from the platform.- Per-username progressive sign-in throttle; security events reach the audit log and
the webhook (
break-glass-used,break-glass-changed,bootstrap-complete).
Security
Section titled “Security”- No ungated console; S7 fails closed on a serving console; a demo profile never runs
SSO; a credential-less
appLoginblock fails closed.
Fixed – release-candidate review, round 1
Section titled “Fixed – release-candidate review, round 1”- The console stays on the profile it started with; one that turns demo mid-run LOCKS until restarted; the demo operator answers loopback callers only (security H-1).
- Sign-in throttle hardened (bounded, decaying, per-address budget for unknown names, device cookie for a browser that signed in before); setup codes can no longer be burned; rotating the break-glass account ends every older session, on both consoles (security M-2..M-6).
- Imported SSO sessions take their role from this console’s role map (security M-5).
/api/connectforwards a username + password for a vault-user service account and the Connect card follows the declared kind (code M3);/api/statusreports the declared service account and the sibling’s real scheme, and a mixed-scheme suite is shown (code M5).Initialize-HarborTlsrolls back on failure (both ports or neither) and retires superseded leaves (code M4, m8, security L-5);-SetupTlsasks first and elevates only trusted code via-File(security L-4).- Store writes are atomic and throw on failure (code m1); security webhooks run off the accept thread (security L-1).
Fixed – release-candidate review, round 2
Section titled “Fixed – release-candidate review, round 2”- Vault-user service accounts without a
usernameconnect with the name typed on the Connect form again (code R1). - One unreadable read of the config or the shared session store keeps the last known-good sign-in state – no session ended, the service session kept, re-read two seconds later (security N-2, code R3). This console’s automatic scans no longer lose the vault because Harbor Home saved the config at the wrong instant.
- No break-glass username oracle (security N-1); a stopped console no longer pins its profile
(code R4);
-Renewkeeps a certificate another port still uses (code R2); webhook failures and drops are logged, the pool closes at shutdown (security R-3, code R5); relative paths in the atomic writers follow the PowerShell location (code R8). - A tenant save at Harbor Home that moves the tenant drops the stored service secret and ends the service session on this console too (security N-5).
-SetupTlselevates only a tree no standard user can write, checked again elevated (security L-4).- A host whose service account relied on a per-account
HARBOR_OAUTH_SECRET/HARBOR_LOGON_PASSWORDwhile a DPAPI blob also exists now resolves todpapi: declare the variable explicitly from the account that runs Harbor Health, e.g.Set-HarborServiceAccount -Kind oauth -ClientId <id> -SecretSource env -EnvVar HARBOR_OAUTH_SECRET -Connect startup(never a machine-wide variable). See Harbor Onboard 0.58.0 for the full migration order.
Fixed – release-candidate review, round 3 (polish)
Section titled “Fixed – release-candidate review, round 3 (polish)”-SetupTlson a user-owned copy prints at most five reasons and one “…and N more” line, and no longer tells you to import that copy elevated: install withInstall-HarborHealth.ps1 -InstallModule -Scope AllUsers(thenInitialize-HarborTls -TrustRootfrom that copy, elevated) or use a signed release (code R2-1, security R2-1).- A sign-in 429 names its way out (
Set-HarborWebLogin -Username <account name>on this machine; a browser that signed in before is not affected), and the first-run browser gets its device cookie at once (security item 2). - A sign-in that could not be shared with Harbor Home is logged: one WARN a minute at most when the shared session store cannot be read (code R2-4).
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 a row of the console shell, visible without scrolling at any width; amber for the loopback fallback, red only for a locked console (T-F1).
- The sign-in lock-out text: failed attempts from other browsers or programs do not lock out a
browser that has signed in here before, and the recovery (
Set-HarborWebLogin -Username <account name>) also ends that account’s sessions (T-F2). - From the shared platform: a CyberArk sign-in that cannot start shows a styled page with a
link back (T-F8); a malformed
/api/auth/break-glassbody is a 400 (T-F12); the break-glass password must use at least 5 different characters and not be built from a short built-in list of common passwords (T-F4); a service-account declaration refuses blank names and a demo profile (T-F5, T-F6).
Security – release-candidate review, round 5
Section titled “Security – release-candidate review, round 5”- From the shared platform: 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);
a route can now run a read-only check before the console’s write lock (
-Prepare), and the issuer check Harbor Home’s SSO wizard makes is fenced (https only, public addresses only, no redirects, 64 KB, 10 s, fixed reasons) (security R4-1). - The suite stylesheet: in Harbor Home the embedded Health Check fills the window on a narrow screen (it was 150 px tall at 820 px or narrower; code R4-1).
Fixed – release-candidate review, round 6 (docs build)
Section titled “Fixed – release-candidate review, round 6 (docs build)”- Help text that contradicted the explicit service account (W2):
Register-HarborHealthSchedule,Invoke-HarborHealthScheduledScanand theInvoke-HarborHealthScan.ps1runner no longer say the secret is “saved on the first UI connect”. They describe the declared service account: the task reads only its declared secret source, as the Windows account it runs as (DPAPI stored by that account, SecretManagement, or a user-scope environment variable – never machine-wide).
Fixed – release-candidate review, round 7 (polish)
Section titled “Fixed – release-candidate review, round 7 (polish)”- The shared TLS plumbing’s certificate-store reads (used by Harbor Onboard’s uninstall)
dispose the certificate objects they open. Note: uninstalling Harbor Onboard also removes
this console’s 8788 https binding when it points at a Harbor certificate; run
Initialize-HarborTls -Port 8788again (elevated) if you keep Harbor Health on its own.
Known limitations
Section titled “Known limitations”- SSO sessions this console issued keep their role while SSO is switched off, until idle / 12 h (security N-4); the demo latch is one-way (security N-6). Restart the console to cut either off. Details: Harbor Onboard 0.58.0.
- After a tenant move, an admin can re-declare an env or SecretManagement secret source and so send that secret to the new host (security R2-2; deliberate, audited).
-SetupTlsdoes not check the folder above the Harbor tree, and its “signed” alternative accepts any valid signer, not only Harbor’s publisher (security L-4 residuals). Install under%ProgramFiles%and trust only verified signed releases. Details: Harbor Onboard 0.58.0.
0.20.0 (2026-11-23)
Section titled “0.20.0 (2026-11-23)”Phase 3 session 2 on the shared platform: a bounded runspace pool runs every request handler off the accept thread. Includes the round-2 review fixes. See Harbor Onboard 0.57.0 for the details.
Changed
Section titled “Changed”- Requests are handled concurrently. All security checks still run on the accept thread first. Handlers then run on a request pool (default 4 runspaces). Scans and the monitoring/fleet ticks run on a separate job pool (default 2), and one job slot is reserved for monitoring.
- The profile knob is
"webPool"."webPool": falserestores the old inline loop. - 503 +
Retry-Afterwhen a pool or a caller’s share is full. - 504 only for a read past
requestTimeoutSeconds(“it may still complete”). A write (connect, remediation, configuration) is never stopped mid-way. /api/_stopdrains in-flight work before the console exits.- Writes are serialized console-wide. Reads run in parallel.
- A scan’s headline result is newest-wins: an older scan that finishes later never replaces a fresher one (MIN-4).
- A pool that cannot load the module makes the console serve inline.
Security
Section titled “Security”- Slow-body DoS fixed. Request bodies are read asynchronously with a
deadline (408 when it is missed).
/api/_clientlognow needs the CSRF header. - A refresh token is spent once, even when a scan job holds a copy of the session. Refresh locks are per session and time out.
- No secrets are left in idle runspaces. Sign-out also reaches work that is already queued.
- The accept-thread SSO steps have time limits, and the anonymous login-start store is capped.
- Stale state never overwrites newer state: a disconnect sent while a connect is running wins, and a scan from the old session never becomes the headline.
- Two remediation edits at once (or an edit during a scan’s carry-forward) no longer lose one of them. The tracker’s read-modify-write runs under a lock.
- Two scans in the same second no longer share a history id.
- Atomic writes use unique temp names.
- The unit suites no longer share the module
./Logsacross editions.
0.19.0 (2026-11-16)
Section titled “0.19.0 (2026-11-16)”Phase 3 session 1 on the shared platform: the per-request context and every Health route handler in the route table (see Harbor Onboard 0.56.0 for detail).
Security
Section titled “Security”- Sign-in sessions carry each operator’s own vault identity – an SSO operator’s token is theirs alone, never the console-wide session (the identity inversion is closed); logout, expiry and abandoned sign-ins drop only theirs.
- Connect is now admin-only when a login gate is on (D3); a disconnect that would drop the service session is admin-only too.
- A failed connect keeps the session that was serving; jobs receive the request context explicitly; a token refreshed in a job goes back to its owner only.
- Background monitoring (auto-scan, fleet refresh) never borrows an operator’s token (D1): it runs on the service session only.
Changed
Section titled “Changed”- Scan results, history entries, the status headline and the fleet cache carry
CollectedAs(whose rights collected them); the console shows “collected as …”. The results stay console-wide (D5). /api/statusgainsrunId,vaultSourceandvaultNotice(a one-shot note, shown as a toast, when an operator’s own SSO token expired and they now ride the service session).- The router now resolves routes through the route table: a trailing
/and path case are normalized (/api/status/answers), and the 404 names the method in capitals. - Job results serialize at the route’s declared depth (was a flat 12).
- A per-operator disconnect no longer clears the demo state for everyone.
0.18.0 (2026-11-11)
Section titled “0.18.0 (2026-11-11)”Security work order S1 (the 2026-11-10 suite audit, Priority 1 + 2) on the shared platform, and the Health items from the 2026-11-10 browser test and the v0.54 full test report addendum.
Security
Section titled “Security”- The suite-shared platform hardening (see Harbor Onboard 0.55.0 for detail):
the shared store is a trust boundary (C1), HMAC’d session records (H3),
/api/_stopchecks session state + admin (H1), a request cannot choose its parameters source or profile (H2 + H6), pre-gate auth routes are POST + CSRF (M2), OIDC state binding / https-only endpoints / mandatory exp / azp (M3), jobs run as and belong to their operator (M4), CSV formula neutralization (M6), session-checked re-confirm (M7),-AllowRemoteneeds-Httpsand a gate (M9), the signed-out/api/statusprojection (L1), PBKDF2-SHA256 600k (L2), validated task-command profile names (L4), path-segment guard (L5) and request-body caps (L6). - M1
POST /api/health-scanandPOST /api/components(forced refresh) replace the state-changing GETs; both are CSRF-checked operator routes.
- A partial (components-only) scan no longer replaces the executive score
(addendum 3): the Overview dial, open risks,
/api/statusand the Onboard Home tile stay on the latest FULL scan. reset:"false"no longer wipes the threshold overrides (addendum 1): request flags are parsed explicitly.- Validation errors are 400s in operator words (addendum 4): every thresholds / checks validation failure is a typed ArgumentException.
- Audit chain no longer reports TAMPER after normal use (shared writer lock, tester H5); timestamps are ISO-8601 UTC with a Z (tester H7).
- Keyboard: History “open” and Components “details” are real keyboard controls (addendum 7); the sidebar History link returns to the list while a stored scan is open (tester M11).
Security (review round 3)
Section titled “Security (review round 3)”- The shared-platform round-3 hardening (detail in Harbor Onboard 0.55.0):
sessions bound to the issuing console profile, demo bypass sessions never
shared, length-prefixed session MAC; a console under another account keeps
local sign-in instead of looping; repeatable DACL-only store hardening, once
per process, and the server refuses an unhardened store; no LocalMachine
secret left in a
.bak; exclusive lock files for the audit log and the session store (an unserialized audit write is marked, not silent); the S7 destructive re-auth check now runs in the edge for this console too; trailing-dot path segments refused; -AllowRemote refuses a bypass-only gate.
Fixed (review round 3)
Section titled “Fixed (review round 3)”- Request errors are 4xx only by explicit marker: the thresholds / checks validators, an invalid history id or remediation status (400) and an unknown stored scan or remediation item (404) are marked; internal faults stay 500.
Fixed (browser re-test round 4)
Section titled “Fixed (browser re-test round 4)”- A scoped scan shows its own result again (labelled PARTIAL, once), without replacing the headline score.
- “Reset to defaults” asks first, naming the overrides it drops; destructive confirms open on Cancel (shared web-kit).
- Times show local time WITH a zone; the schedule time says it is the server’s local time; the remediation status select keeps its width.
- Audit records name who acted (shared platform).
0.17.0 (2026-11-10)
Section titled “0.17.0 (2026-11-10)”Phase 2 (session 3, part 4): the suite web-kit, and a console that builds no markup from tenant data.
Security
Section titled “Security”-
The SPA no longer builds HTML from server or tenant data. Every page used to render through
innerHTML+ template literals, escaped by a hand-rolledesc()— one missed call away from stored XSS in a console that holds an admin session and a vault token, with hostnames, check evidence, connector notes, remediation text, notes and profile names all flowing in. Every rendering site is now built with the kit’sh()/svg(): data only ever becomes text nodes, handlers are real listeners.esc()is deleted, andapp.jscontains noinnerHTMLat all. -
The smoke harness fails the build if an
innerHTML/outerHTMLassignment or anh(..., { html })with anything but a plain string literal reappears (proven to bite with a planted violation), and ifesc()comes back. -
CyberArk docs links pass through the kit, which drops
javascript:/vbscript:URLs. -
Review round 2, the kit (both consoles):
- No raw-markup hatch any more:
h()/svg()drop anhtmlattribute (andinnerHTML/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,codebaseare 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.
- No raw-markup hatch any more:
-
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::$DATAused 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 FrameworkUristrips 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.
- Static files answer GET/HEAD only: other methods get 405 with
-
The suite web-kit (
Platform/WebUI/harbor-kit.js, canonical in harbor-platform, vendored byte-identical, on the drift list):api()/apiAsync(),h()/svg(),dialog()/modal()with a focus trap and focus restoration,toast(),siblingBase(). Served by the edge at/harbor-kit.jsfrom the Platform tree and loaded beforeapp.js. -
Edge harness (+2; suite 107 → 109):
/harbor-kit.jsis served as JavaScript, byte-identical to the Platform file, with no wwwroot copy, and nothing else under Platform/ is addressable. -
Smoke harness rebuilt on a DOM stub with real child lists, so the builders are asserted structurally: hostile strings in evidence, titles, profile names and schedule results stay text; a check row click toggles its detail; the modal traps Tab and restores focus;
onboardBase()honours the suite map. -
Review round 2 tests (suite 109 → 114): edge harness +5 — HEAD on static assets, 405 on every other method, Windows alias paths refused, and an OPERATOR refused all three admin-only writes (
checks-config,thresholds,health-schedule) before the route runs while still reaching the operator-levelPOST /api/remediation. The smoke harness now EXECUTES every view through a path-routing fetch stub:go()for all nine pages, then the main buttons — run scan (202 → job poll), re-run, report download, remediation Save, history open + back, schedule register, reports download, server drill-down + close, checks/thresholds save + reset, Stop → Cancel — with hostile strings in every tenant field; proves an unchanged components signature touches only#inv-stampwhile a changed one repaints; covers a failed (500) background job; and its DOM stub now hasgetClientRects, so the focus trap’s hidden-control skip is exercised. The markup scanner also catches'html':,el['innerHTML']=andObject.assign(..innerHTML..).
Changed
Section titled “Changed”api,apiAsync, the CSRF read and the suite-map URL helper come from the kit (onboardBase()is nowsiblingBase('onboard', 8787)). Job polling keeps Health’s 900 ms cadence viaHarborKit.configure({ pollMs }).- The server drill-down opens through
HarborKit.dialog()(Escape, backdrop, Tab trap, focus back to the row it came from). - “Stop server” uses the branded modal instead of
confirm(); report and scan failures surface as a toast instead ofalert()(index.html gains the#toaststatus line). - The background-job ceiling message is the suite-wide wording.
0.16.0 (2026-08-18)
Section titled “0.16.0 (2026-08-18)”Phase 2 (session 3, part 3): routes are data.
Changed
Section titled “Changed”- The declarative route table. Health declares its routes once in
Private/Web/HealthRoutes.ps1; the shared platform reads-Async(the edge),-MinRole(the role gate) and-Destructive(the S7 re-auth check) off them. The-AsyncRouteslist inStart-HarborHealthWebis gone. - Health’s auth stack no longer carries Onboard’s route names. The
adminOnlyarray inside the sharedTest-HarborRouteAllowedlisted paths from both products —/api/compliance-scheduleand/api/settings/tenanthave never existed in this console. Roles are now a rank comparison against each route’s declaredMinRole.
Tests/RouteTable.Tests.ps1(10 assertions; suite 97 → 107): proves the table and the dispatcher’s switch describe exactly the same routes in both directions, pins the async and admin-only sets, and asserts Health declares no destructive route — it observes, it does not decommission.
0.15.0 (2026-08-18)
Section titled “0.15.0 (2026-08-18)”Phase 2 (session 3, part 2): Health runs the suite’s web edge, not a copy of it.
Changed
Section titled “Changed”- The 669-line web server is gone.
Start-HarborHealthWebis now a ~95-line wrapper over the vendoredPlatform/Web/Start-HarborModuleWeb.ps1(canonical in harbor-platform, shared byte-for-byte with Onboard). Health keeps only what genuinely differs: its router, its long-running routes, its CSP position (it is EMBEDDED by Harbor Home rather than embedding anything), the cross-origin reads the shell makes, and three monitoring hooks (-OnBeforeListenwarm-up,-OnRequestscan/fleet tick,-OnJobResultasync-scan harvest-back). Every security-bearing behaviour — Host/Origin guard, CSRF, operator gate, role enforcement, cookie flags, static sandbox, authenticated/api/_stop— is now one implementation instead of two that had already drifted apart once.
- Health’s own edge harness (
Tests/WebEdge.Tests.ps1, 20 assertions; suite 77 → 97). Twin of Onboard’s: the real server in a separate runspace, driven with raw HTTP over a TcpClient. Beyond the shared boundary it covers what is Health’s alone — the credentialed cross-origin READ granted to the Harbor Home shell, that it is granted for job polls but not for unlisted routes, not to any other origin, and that the shell may read but never write. /api/auth/reconfirmand the per-request “last proved identity” stamp now exist here too (they came with the shared edge). Absent a local login the route 404s exactly as it does on Onboard.
0.14.1 (2026-08-18)
Section titled “0.14.1 (2026-08-18)”- Shared Platform sync:
Get-HarborWebLoginConfignow returns aRolefor the local (break-glass) login. The web edge in both products has always read that property, but nothing ever set one — so a local sign-in silently becameadminand a narrowed console was unreachable. Default staysadmin; unrecognised values fall back to it. (Onboard v0.51.0 carries the matchingSet-HarborWebLogin -Rolewriter and the edge harness that proves it.)
0.14.0 (2026-08-17)
Section titled “0.14.0 (2026-08-17)”Phase 2 (session 2): release pipeline + suite map + single-source stylesheet.
- A real release pipeline (ported from Onboard via the platform work):
Build-HarborHealthRelease.ps1(signing tiers, sha256 sidecar, ships the changelog),Verify-HarborHealthRelease.ps1,Install-HarborHealth.ps1, and.github/workflows/release.yml— everyv*tag now produces a self-signed, verifiedHarborHealth-<version>.zipon a GitHub release. Health is no longer a git-clone-only product. - Suite map in
/api/status(suite.onboard/healthscheme+port): the console derives the Harbor Home URL from it instead of hardcodinghttp://…:8787, so the suite shell survives-Httpsand custom ports.
Changed
Section titled “Changed”styles.cssis served from the vendored Platform tree (single canonical source in harbor-platform); the wwwroot byte-copy is deleted.
0.13.0 (2026-08-17)
Section titled “0.13.0 (2026-08-17)”Phase 2 (session 1): the HarborPlatform extraction.
Changed
Section titled “Changed”- The 21 suite-shared plumbing files are now vendored at
HarborHealth/Platform/from the canonicalharbor-pam/harbor-platformrepo (dot-sourced into this module’s scope); the duplicatedPrivate/copies are deleted (~2,000 lines). Sync viaSync-HarborPlatform.ps1; the drift gate + CI prove the trees match; the psm1 guard now checks the Platform tree.
0.12.1 (2026-08-17)
Section titled “0.12.1 (2026-08-17)”Changed
Section titled “Changed”- Changelog inversion (suite Phase 1): this file is now the source of truth;
the manifest
ReleaseNotesshrank to a short summary. README counts corrected (10 exports, 77 tests).
0.12.0 (2026-08-17)
Section titled “0.12.0 (2026-08-17)”Phase 0 of the suite’s path-to-1.0 plan: security hardening.
- Dead per-route serialize depth: route results were raw hashtables, so
the server’s
PSObject.Propertiescheck for theDepthhint was always false —GET /api/report(a full HTML document as one string) serialized at depth 12 inline on the single-threaded loop, exactly the Windows PowerShell 5.1ConvertTo-Jsonhang the mechanism exists to prevent. Route results are now typed objects and the dispatcher helpers match Onboard’s contract.
Security
Section titled “Security”- Suite-shared store DACL, SHA-256(sid) session keys + mutex-serialized
writers, CurrentUser DPAPI scope (legacy fallback), CSRF+session on
/api/_stop, demo-onlyallowBypass, Content-Security-Policy on every response (frame-ancestors limited to the Harbor Home shell), 30s OAuth timeout, background-job record eviction. Shared-plumbing drift gate added (shared-plumbing.txt+Test-SharedPlumbingDrift.ps1, CI-wired); the report renderer re-converged with Onboard’s (-ExtraSections).
0.11.0 (2026-08-04)
Section titled “0.11.0 (2026-08-04)”- Scheduled scans (the Onboard G1 pattern absorbed):
Register/Get/Unregister-HarborHealthSchedule(Task Scheduler, S4U),Invoke-HarborHealthScheduledScan(headless self-connect, full scan into the normal history + remediation, check-level diff vs the previous full scan, webhookhealth-new-problemson NEW problems only, quiet baseline), repo-root runner, History-page card (GET/POST /api/health-schedule, POST admin-only). 10 exports, 77 tests.
0.1.0 – 0.10.2 (2026-07-27 – 2026-08-04)
Section titled “0.1.0 – 0.10.2 (2026-07-27 – 2026-08-04)”Condensed; full narrative in git history and the pre-0.12.1 manifest: 16→18-check engine with weighted 0-100 score and demo environment (0.1.0); tabbed dashboard console with fleet drill-down, remediation tracker and scan history (0.2.0); suite-shared sessions/config with Harbor Home SSO (0.3.0); canonical suite design system, nine-page console v4, check-catalogue depth, Connector Management + SIA collectors, CM-exclusive sourcing, diff-aware refresh, self-diagnosing collection (0.4.0–0.10.2).
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
