Revoke-PAMSafeException
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.
Syntax
Section titled “Syntax”Revoke-PAMSafeException [-SafeName] <string> [-DryRun] [-ConfigPath <string>] [-ConfigProfile <string>] [-WhatIf] [-Confirm]Description
Section titled “Description”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.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Revoke-PAMSafeException -SafeName 'LegacyFinanceVault'Parameters
Section titled “Parameters”-ConfigPath
Section titled “-ConfigPath”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | Named | No |
-ConfigProfile
Section titled “-ConfigProfile”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | Named | No |
-Confirm
Section titled “-Confirm”Asks for confirmation before the command changes anything.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
No | Named | No |
Aliases: cf.
-DryRun
Section titled “-DryRun”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
No | Named | No |
-SafeName
Section titled “-SafeName”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
Yes | 0 | No |
-WhatIf
Section titled “-WhatIf”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).
See also
Section titled “See also”- All Harbor Onboard cmdlets
- In PowerShell:
Get-Help Revoke-PAMSafeException -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
