Skip to content

Get-PAMConfigHistory

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

The standards change history: who saved which config document when, with the field-level diff of every save – newest first.

Terminal window
Get-PAMConfigHistory [[-Document] <string>] [[-Tail] <int>] [[-ConfigPath] <string>]

Reads <ConfigPath>\history\config-history.jsonl, written by Save-HarborConfigDocument on every successful save. Each record carries timestamp, document, actor (null = console/service write), runId, changeCount and the capped change rows (Path / Kind / Old / New). The prior full versions sit beside it as dated .json copies (newest 20 per document) for manual rollback.

Terminal window
Get-PAMConfigHistory -Document naming -Tail 10

Not described in the module help.

Type Required Position Pipeline input
String No 2 No

Filter to one document key: naming, rbac, safe-defaults, policy or sso (the appAuth / identity-provider block, S1 H5).

Type Required Position Pipeline input
String No 0 No

Accepted values: naming, rbac, safe-defaults, policy, sso.

Not described in the module help.

Type Required Position Pipeline input
Int32 No 1 No

Default: 50.

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.