actions-marketplace-validations/Run PSScriptAnalyzer

Run PSScriptAnalyzer

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathSpecifies the path to the scripts or module to be analyzed. Wildcard characters are supported.yes.\
customRulePathUses only the custom rules defined in the specified paths to the analysis. To still use the built-in rules, add the -IncludeDefaultRules switch.no
recurseCustomRulePathAdds rules defined in subdirectories of the CustomRulePath location.no
excludeRuleOmits the specified rules from the Script Analyzer test. Wildcard characters are supported.no
includeDefaultRulesInvoke default rules along with Custom rules.no
includeRuleRuns only the specified rules in the Script Analyzer test.no
severityAfter running Script Analyzer with all rules, this parameter selects rule violations with the specified severity.no
recurseRuns Script Analyzer on the files in the Path directory and all subdirectories recursively.no
suppressedOnlyReturns rules that are suppressed, instead of analyzing the files in the path.no
fixFixes certain warnings which contain a fix in their DiagnosticRecord.no
enableExitExits PowerShell and returns an exit code equal to the number of error records.no
settingsFile path that contains user profile or hash table for ScriptAnalyzer.no
outputSpecifies where the path for the sarif fileyesresults.sarif
ignorePatternExclude specific files from the sarif results. Uses regex pattern.no

no outputs