Skip to content

Commit 3f293e2

Browse files
committed
Add CredScan Suppression for changed file
1 parent 1e0e263 commit 3f293e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@ function Backend-CrudTest {
20622062
Assert-AreEqual 1 $backend.Properties.Count
20632063

20642064
#backend with proxy
2065-
$secpassword = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force
2065+
$secpassword = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force; <#[SuppressMessage("Microsoft.Security", "CS001:SecretInline", Justification="Secret used in recorded tests only")]#>
20662066
$proxyCreds = New-Object System.Management.Automation.PSCredential ("foo", $secpassword)
20672067
$credential = New-AzureRmApiManagementBackendProxy -Url "http://12.168.1.1:8080" -ProxyCredential $proxyCreds
20682068

0 commit comments

Comments
 (0)