You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<value>Parameter '{0}' should use SecureString, otherwise this will expose sensitive information. See ConvertTo-SecureString for more information.</value>
295
+
<value>Parameter '{0}' should not use String type but either SecureString or PSCredential, otherwise it increases the chance to to expose this sensitive information.</value>
Copy file name to clipboardExpand all lines: Tests/Rules/AvoidUsingPlainTextForPassword.tests.ps1
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
# Licensed under the MIT License.
3
3
4
4
BeforeAll {
5
-
$violationMessage= [regex]::Escape("Parameter '`$password' should use SecureString, otherwise this will expose sensitive information. See ConvertTo-SecureString for more information.")
5
+
$violationMessage= [regex]::Escape("Parameter '`$password' should not use String type but either ")
0 commit comments