Skip to content

Invoke-PAMComplianceReport

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

One-shot compliance/evidence report: composes RBAC drift, rogue-safe detection and the register stats into a single scored summary, optionally written as a self-contained HTML report.

Terminal window
Invoke-PAMComplianceReport [[-ReportPath] <string>] [[-ConfigPath] <string>] [[-ConfigProfile] <string>] [-SkipDrift] [-NoNotify]

The “prove it” cmdlet: run it monthly (or before an audit) to show how much of the estate is on-standard. Composes three existing scans:

  • RBAC drift (Compare-PAMSafePermissions -All) – the slow part
  • Rogue safes (Get-PAMRogueSafe) – unregistered/off-standard
  • Registers (safe + account registers) – what Harbor provisioned

Requires a connected session. -SkipDrift gives a quick pass (rogue + registers only) when a full member-by-member drift scan is too slow.

Terminal window
Invoke-PAMComplianceReport -ReportPath .\compliance-2026-07.html

Not described in the module help.

Type Required Position Pipeline input
String No 1 No

Not described in the module help.

Type Required Position Pipeline input
String No 2 No

Suppress the ‘compliance-findings’ webhook ping (the scheduled scan passes this and alerts on NEW drift only instead).

Type Required Position Pipeline input
SwitchParameter No Named No

Optional output file. ‘.html’ writes the branded HTML report; ‘.json’ writes the full summary + findings as JSON.

Type Required Position Pipeline input
String No 0 No

Not described in the module help.

Type Required Position Pipeline input
SwitchParameter 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.