Skip to content

Get-PAMDriftExplanation

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Claude explains an RBAC drift result in plain English – what drifted, why it matters, and the safest order to fix it.

Parameter set Live (default):

Terminal window
Get-PAMDriftExplanation [-SafeName] <string> [-ConfigPath <string>] [-ConfigProfile <string>]

Parameter set Result:

Terminal window
Get-PAMDriftExplanation -DriftResult <Object> [-ConfigPath <string>] [-ConfigProfile <string>]

Takes either a safe name (runs Compare-PAMSafePermissions live, needs a session) or an existing drift result object (no session needed – the web UI passes the row it already holds). The trimmed drift facts go to the Anthropic API via the profile’s opt-in assistant config; the answer comes back as reviewer-ready prose for a change ticket or a colleague. PRIVACY: the safe name, member/group names and permission names are sent to the Anthropic API. Requires Set-HarborAssistant opt-in.

Terminal window
Get-PAMDriftExplanation -SafeName AB-PAS-SRV-WIN-DA-I-M-P
Terminal window
Compare-PAMSafePermissions -All | Where-Object { -not $_.InCompliance } |
Get-PAMDriftExplanation

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
Object Yes Named By value

Not described in the module help.

Type Required Position Pipeline input
String Yes 0 No

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

  • PSCustomObject: SafeName, InCompliance, Explanation, Model, GeneratedAt

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