Public commands

Exported PSRafScan commands
CommandPurpose
Invoke-PSRafScanRun the guided workflow, direct scan, catalog listing, or self-test entry point.
RSXAlias for Invoke-PSRafScan.
Get-PSRafScanRuleList and filter rule metadata.
Get-PSRafScanSelfTestList and filter self-test metadata.
Invoke-PSRafScanSelfTestRun the self-test suite and format its result.

Direct scan parameters

Verified direct scan parameters
ParameterAccepted values or behaviorDefault
PathExisting file path; mutually exclusive with ClipboardNone
ClipboardUse current raw clipboard text; mutually exclusive with PathOff
IntendedUsePs1File or TerminalPastePs1File for direct scans
FailOnAny, Warning, Error, or NoneWarning for direct scans
OutputFormatPlainText or JsonPlainText
OutputPathWrite report to the supplied pathReturn report to caller
HideInformationDetailReduce Information detail in PlainTextOff
NoColorDisable terminal color where usedOff
NonInteractivePrevent guided flowOff

Catalog and self-test switches

Use SelfTest, ListRules, ListSelfTests, or Help to select a non-scan operation. The rule and self-test catalog surfaces accept filters for names, categories, severity, intended use, tags, aliases, search text, deprecation state, and related metadata where supported by that command.

RSX -ListRules -Tag git
Get-PSRafScanRule -Category CredentialSafety -Severity Warning
Get-PSRafScanSelfTest -RuleName UnapprovedVerb -TestKind Negative
RSX -SelfTest
RSX -Help

Verified command examples

RSX -Path ./script.ps1 -IntendedUse Ps1File -FailOn Warning
RSX -Clipboard -IntendedUse TerminalPaste -FailOn Warning
RSX -Path ./script.ps1 -IntendedUse Ps1File -FailOn Error -OutputFormat Json -OutputPath ./result.json

Declared switches not documented as functional here

The current public function declares UseNativeEngine and OpenInVSCode. Current review does not establish a distinct, reliable direct-scan behavior for these switches, so this reference does not tell users to depend on them.