Skip to content

Commit 6067b48

Browse files
authored
Suppress ps1 SDL errors (#54914)
1 parent c894b55 commit 6067b48

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/DataProtection/CreateTestCert.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '', Justification='dev utility tool')]
2+
13
#
24
# Generates a new test cert in a .pfx file
35
# Obviously, don't actually use this to produce production certs

src/Hosting/Server.IntegrationTesting/src/Deployers/RemoteWindowsDeployer/RemotePSSessionHelper.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
[CmdletBinding()]
1+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '', Justification='dev utility tool')]
2+
3+
[CmdletBinding()]
24
param(
35
[Parameter(Mandatory=$true)]
46
[string]$serverName,

0 commit comments

Comments
 (0)