Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

PowerShell Script Analyzer

Run the PSScriptAnalyzer tool

INPUT

ENV variables

none

Parameters

Name Required Description Default value
shell The shell (powershell or pwsh) in which the PowerShell script in this action should run pwsh
path Yes Specifies the path to the scripts or module to be analyzed. Wildcard characters are supported. .\
excludeRule Comma separated list of PSScriptAnalyzer rules to exclude. Wildcard characters are supported.
recurse Runs Script Analyzer on the files in the Path directory and all subdirectories recursively.
output Yes Specifies where the path for the sarif file results.sarif

OUTPUT

ENV variables

none

OUTPUT variables

none