Skip to content

Get-PAMComplianceSnapshot

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Browses the G1 snapshot store: no arguments lists every stored compliance snapshot (newest first, metadata per row); -Name or -Latest returns one full snapshot document.

Parameter set List (default):

Terminal window
Get-PAMComplianceSnapshot [-ConfigPath <string>] [-ConfigProfile <string>]

Parameter set One:

Terminal window
Get-PAMComplianceSnapshot [-Name <string>] [-Latest] [-ConfigPath <string>] [-ConfigProfile <string>]

Snapshots are written by Invoke-PAMComplianceScan into <logPath>\compliance. Each row carries the run’s numbers (findings, new/resolved vs its previous run, grade, auto-remediation attempts) so trends read at a glance; the full document holds the finding rows and the embedded diff. Offline – no vault session needed.

Terminal window
Get-PAMComplianceSnapshot | Format-Table Name, GeneratedAt, Findings, NewCount, Grade

Not described in the module help.

Type Required Position Pipeline input
String No Named No

Not described in the module help.

Type Required Position Pipeline input
String No Named No

Not described in the module help.

Type Required Position Pipeline input
SwitchParameter No Named No

A snapshot filename from the list (e.g. snapshot-20260804-063000-123Z.json).

Type Required Position Pipeline input
String No Named No

This command also accepts the PowerShell common parameters (-Verbose, -ErrorAction, and so on).

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