We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4973cc commit fb77f16Copy full SHA for fb77f16
1 file changed
RuleDocumentation/AvoidUsingPlainTextForPassword.md
@@ -30,32 +30,32 @@ Wrong:
30
$Passphrases,
31
$Passwordparam
32
)
33
- ...
+ ...
34
}
35
```
36
37
Correct:
38
39
40
- function Test-Script
41
- {
42
- [CmdletBinding()]
43
- [Alias()]
44
- [OutputType([Int])]
45
- Param
46
- (
47
- [SecureString]
48
- $Password,
49
- [System.Security.SecureString]
50
- $Pass,
51
- [SecureString[]]
52
- $Passwords,
53
54
- $Passphrases,
55
56
- $PasswordParam
57
- )
58
59
- }
+ function Test-Script
+ {
+ [CmdletBinding()]
+ [Alias()]
+ [OutputType([Int])]
+ Param
+ (
+ [SecureString]
+ $Password,
+ [System.Security.SecureString]
+ $Pass,
+ [SecureString[]]
+ $Passwords,
+ $Passphrases,
+ $PasswordParam
+ )
+ }
60
61
0 commit comments