Compliance snapshots and time travel
Every Harbor Onboard compliance scan can be kept as a dated snapshot: the findings (RBAC drift, rogue safes, policy violations), the RBAC compliance percentage and the overall grade at that moment. Time travel compares any two snapshots: what appeared, what was resolved, and how the score moved. That answers an auditor’s “what changed since the last review?” without rerunning history.
You need: any role to browse and compare; the operator role to take a snapshot by hand; the admin role to schedule them.
Take snapshots
Section titled “Take snapshots”By hand: on the Onboard Dashboard (rail: Overview → Status Board), in Scheduled scans, select Scan + diff now. The toast says how many findings are new, resolved and unchanged; the first snapshot is recorded as the baseline.
On a schedule (admin):
- In Scheduled scans, set the start time (the Harbor server’s local time) and Daily, Every 6h, Every 12h or Every 24h.
- Tick Quick scan to skip the member-by-member drift check (faster, but no RBAC compliance figure), and Keep HTML report to store a report with each snapshot.
- Select Schedule scans. The card shows Scheduled and the next run.
The scheduled scan runs as a Windows task with the profile’s declared service account, like the Health schedule; see Schedule a Health scan for the secret-source rules. It alerts the profile’s webhook only when a finding is new.
Compare two snapshots
Section titled “Compare two snapshots”- In Scheduled scans, select Browse history / time travel.
- The table lists the snapshots, newest first: When, Findings, New, Resolved, Grade and Auto-repair.
- Pick Before and After. They start on the previous and the latest snapshot.
- Select Compare. The chips show the new, resolved and unchanged findings and
the score change (for example
score +6 (C to B)); the tables list what Appeared between the two runs and what was Resolved between the two runs.
Compare stays disabled until you pick two different snapshots, and with fewer than two snapshots the page says Time travel needs at least two compliance scans.
Keep the evidence
Section titled “Keep the evidence”- Download HTML report after a compliance scan on the Dashboard saves the scored report; see Export reports.
- The Activity monthly summary reports how RBAC compliance moved over a month.
From PowerShell
Section titled “From PowerShell”Invoke-PAMComplianceScan -ConfigProfile <profile> # one snapshot + diffGet-PAMComplianceSnapshot | Format-Table Name, GeneratedAt, Findings, NewCount, GradeCompare-PAMComplianceSnapshot -Before <snapshot name> -After latestRegister-PAMComplianceSchedule -ConfigProfile <profile> -EveryHours 6 -WithHtmlSee Invoke-PAMComplianceScan, Get-PAMComplianceSnapshot, Compare-PAMComplianceSnapshot and Register-PAMComplianceSchedule.
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
