Skip to content

Revoke-PAMSafeException

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Withdraws a governed naming exception: the safe keeps its register history but is flagged as rogue (non-standard name) again from the next scan. The reverse of Approve-PAMSafeException.

Terminal window
Revoke-PAMSafeException [-SafeName] <string> [-DryRun] [-ConfigPath <string>] [-ConfigProfile <string>] [-WhatIf] [-Confirm]

Sets the register entry’s nameException to null (consumers treat null-or-absent as “no exception”). Works OFFLINE – revocation is a register-only operation; nothing in the vault changes. The declared safeType (if any) stays on the entry as history, but with no live exception the safe’s non-standard name fails validation again, so it returns to the rogue report and the compliance findings.

Terminal window
Revoke-PAMSafeException -SafeName 'LegacyFinanceVault'

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

Asks for confirmation before the command changes anything.

Type Required Position Pipeline input
SwitchParameter No Named No

Aliases: cf.

Not described in the module help.

Type Required Position Pipeline input
SwitchParameter No Named No

Not described in the module help.

Type Required Position Pipeline input
String Yes 0 No

Shows what the command would do, without doing it.

Type Required Position Pipeline input
SwitchParameter No Named No

Aliases: wi.

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.