Skip to content

Test-PAMConfigImpact

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

What-if for standards edits: BEFORE saving a proposed naming / rbac / policy document, shows exactly which registered safes it would affect – names that stop validating, persona members that get added/removed/re-permissioned, policy violations that appear or resolve. Entirely offline (register + config only).

Terminal window
Test-PAMConfigImpact [-File] <string> [-Content] <string> [[-ConfigPath] <string>] [[-ConfigProfile] <string>]

The proposed content is validated first (same pathed checks as Validate & Save), then staged into a temp copy of the whole config set; the ACTIVE register (status active/imported) is evaluated under the current config and the staged one, and the differences come back per safe. Nothing is written and no vault call is made.

Terminal window
Test-PAMConfigImpact -File rbac -Content (Get-Content .\rbac-map.json -Raw)

Not described in the module help.

Type Required Position Pipeline input
String No 2 No

Not described in the module help.

Type Required Position Pipeline input
String No 3 No

The proposed raw JSON.

Type Required Position Pipeline input
String Yes 1 No

Which standard the content replaces: naming, rbac or policy (safe-defaults has no register impact).

Type Required Position Pipeline input
String Yes 0 No

Accepted values: naming, rbac, policy.

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.