Skip to content

Commit c7e9e5c

Browse files
authored
Merge pull request #1205 from JamesWTruher/suppressWarning001
Add suppression of warning for MS policy
2 parents 8389997 + 0e35a8a commit c7e9e5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Test/NotASecret.")]
12
$supersecure = convertto-securestring "sdfdsfd" -asplaintext -force
23

34
New-Object System.Management.Automation.PSCredential -ArgumentList "username", (ConvertTo-SecureString "really secure" -AsPlainText -Force)
45

5-
$sneaky = ctss "sneaky convert" -asplainText -force
6+
$sneaky = ctss "sneaky convert" -asplainText -force

0 commit comments

Comments
 (0)