Skip to content

Compliance snapshots and time travel

Harbor OnboardRole: viewerDescribes Onboard 0.58.0

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.

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):

  1. In Scheduled scans, set the start time (the Harbor server’s local time) and Daily, Every 6h, Every 12h or Every 24h.
  2. 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.
  3. 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.

  1. In Scheduled scans, select Browse history / time travel.
  2. The table lists the snapshots, newest first: When, Findings, New, Resolved, Grade and Auto-repair.
  3. Pick Before and After. They start on the previous and the latest snapshot.
  4. 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.

  • 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.
Terminal window
Invoke-PAMComplianceScan -ConfigProfile <profile> # one snapshot + diff
Get-PAMComplianceSnapshot | Format-Table Name, GeneratedAt, Findings, NewCount, Grade
Compare-PAMComplianceSnapshot -Before <snapshot name> -After latest
Register-PAMComplianceSchedule -ConfigProfile <profile> -EveryHours 6 -WithHtml

See 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.