CommandSecurityAnalysis constructor
const
CommandSecurityAnalysis({
- bool hasCommandSubstitution = false,
- bool hasVariableExpansion = false,
- bool hasGlobbing = false,
- bool hasRedirection = false,
- bool hasPiping = false,
- bool hasBackgroundExec = false,
- bool hasSubshell = false,
- bool hasEval = false,
- bool hasExec = false,
- bool hasSudo = false,
- bool hasChown = false,
- bool hasRemove = false,
- bool hasNetworkAccess = false,
- bool hasDiskWrite = false,
- List<
String> writtenPaths = const [], - List<
String> readPaths = const [], - List<
String> executables = const [],
Implementation
const CommandSecurityAnalysis({
this.hasCommandSubstitution = false,
this.hasVariableExpansion = false,
this.hasGlobbing = false,
this.hasRedirection = false,
this.hasPiping = false,
this.hasBackgroundExec = false,
this.hasSubshell = false,
this.hasEval = false,
this.hasExec = false,
this.hasSudo = false,
this.hasChown = false,
this.hasRemove = false,
this.hasNetworkAccess = false,
this.hasDiskWrite = false,
this.writtenPaths = const [],
this.readPaths = const [],
this.executables = const [],
});