Dagger
Search

ps-analyzer

The PowerShell Script Analyzer (PSScriptAnalyzer) for Dagger.

Installation

dagger install github.com/sipsma/dagger/modules/ps-analyzer@4f746cce81e4c061b11cdc44fb54df46746763a5

Entrypoint

Return Type
PsAnalyzer
Example
Function PsAnalyzer.Constructor is not accessible from the ps-analyzer module
Function PsAnalyzer.Constructor is not accessible from the ps-analyzer module
Function PsAnalyzer.Constructor is not accessible from the ps-analyzer module
Function PsAnalyzer.Constructor is not accessible from the ps-analyzer module

Types

PsAnalyzer 🔗

check() 🔗

Return Type
PsAnalyzerReport !
Arguments
NameTypeDefault ValueDescription
fileFile !-

The file that want to check.

excludeRules[String ! ] -

Exclude rules out of the analyzer.

Example
Function PsAnalyzer.check is not accessible from the ps-analyzer module
Function PsAnalyzer.check is not accessible from the ps-analyzer module
Function PsAnalyzer.check is not accessible from the ps-analyzer module
Function PsAnalyzer.check is not accessible from the ps-analyzer module

base() 🔗

Return Type
Container !
Example
Function PsAnalyzer.base is not accessible from the ps-analyzer module
Function PsAnalyzer.base is not accessible from the ps-analyzer module
Function PsAnalyzer.base is not accessible from the ps-analyzer module
Function PsAnalyzer.base is not accessible from the ps-analyzer module

PsAnalyzerReport 🔗

issues() 🔗

Return Type
[PsAnalyzerIssue ! ] !
Example
Function PsAnalyzerReport.issues is not accessible from the ps-analyzer module
Function PsAnalyzerReport.issues is not accessible from the ps-analyzer module
Function PsAnalyzerReport.issues is not accessible from the ps-analyzer module
Function PsAnalyzerReport.issues is not accessible from the ps-analyzer module

jSon() 🔗

Return Type
String !
Example
Function PsAnalyzerReport.jSON is not accessible from the ps-analyzer module
Function PsAnalyzerReport.jSON is not accessible from the ps-analyzer module
Function PsAnalyzerReport.jSON is not accessible from the ps-analyzer module
Function PsAnalyzerReport.jSON is not accessible from the ps-analyzer module

report() 🔗

Return Type
String !
Example
Function PsAnalyzerReport.report is not accessible from the ps-analyzer module
Function PsAnalyzerReport.report is not accessible from the ps-analyzer module
Function PsAnalyzerReport.report is not accessible from the ps-analyzer module
Function PsAnalyzerReport.report is not accessible from the ps-analyzer module

fixedDiff() 🔗

Return Type
String !
Example
Function PsAnalyzerReport.fixedDiff is not accessible from the ps-analyzer module
Function PsAnalyzerReport.fixedDiff is not accessible from the ps-analyzer module
Function PsAnalyzerReport.fixedDiff is not accessible from the ps-analyzer module
Function PsAnalyzerReport.fixedDiff is not accessible from the ps-analyzer module

assert() 🔗

Return Type
Void !
Example
Function PsAnalyzerReport.assert is not accessible from the ps-analyzer module
Function PsAnalyzerReport.assert is not accessible from the ps-analyzer module
Function PsAnalyzerReport.assert is not accessible from the ps-analyzer module
Function PsAnalyzerReport.assert is not accessible from the ps-analyzer module

PsAnalyzerIssue 🔗

filename() 🔗

Return Type
String !
Example
Function PsAnalyzerIssue.filename is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.filename is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.filename is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.filename is not accessible from the ps-analyzer module

line() 🔗

Return Type
Integer !
Example
Function PsAnalyzerIssue.line is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.line is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.line is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.line is not accessible from the ps-analyzer module

lineEnd() 🔗

Return Type
Integer !
Example
Function PsAnalyzerIssue.lineEnd is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.lineEnd is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.lineEnd is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.lineEnd is not accessible from the ps-analyzer module

column() 🔗

Return Type
Integer !
Example
Function PsAnalyzerIssue.column is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.column is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.column is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.column is not accessible from the ps-analyzer module

columnEnd() 🔗

Return Type
Integer !
Example
Function PsAnalyzerIssue.columnEnd is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.columnEnd is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.columnEnd is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.columnEnd is not accessible from the ps-analyzer module

level() 🔗

Return Type
String !
Example
Function PsAnalyzerIssue.level is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.level is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.level is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.level is not accessible from the ps-analyzer module

code() 🔗

Return Type
Integer !
Example
Function PsAnalyzerIssue.code is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.code is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.code is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.code is not accessible from the ps-analyzer module

message() 🔗

Return Type
String !
Example
Function PsAnalyzerIssue.message is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.message is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.message is not accessible from the ps-analyzer module
Function PsAnalyzerIssue.message is not accessible from the ps-analyzer module