From 6a15e7d2f64979246b282859295c796d82fb6878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Fri, 4 Apr 2025 10:07:28 +0200 Subject: [PATCH] Suppress credscan false positives in tls.benchmarks.yml Noticed this while looking at the code mirror, should unbreak the mirroring. **BYPASS_SECRET_SCANNING** --- scenarios/tls.benchmarks.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scenarios/tls.benchmarks.yml b/scenarios/tls.benchmarks.yml index 411accd3b..771118931 100644 --- a/scenarios/tls.benchmarks.yml +++ b/scenarios/tls.benchmarks.yml @@ -106,7 +106,9 @@ scenarios: presetHeaders: connectionclose connections: 32 serverScheme: https + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy cert for testing")] certPath: https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/Certificates/2048/testCert-2048.pfx + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy password for testing")] certPwd: testPassword sslProtocol: tls12 @@ -123,7 +125,9 @@ scenarios: presetHeaders: connectionclose connections: 32 serverScheme: https + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy cert for testing")] certPath: https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/Certificates/2048/testCert-2048.pfx + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy password for testing")] certPwd: testPassword sslProtocol: tls12 @@ -156,7 +160,9 @@ scenarios: presetHeaders: connectionclose connections: 32 serverScheme: https + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy cert for testing")] certPath: https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/Certificates/2048/testCert-2048.pfx + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy password for testing")] certPwd: testPassword sslProtocol: tls12 @@ -174,7 +180,9 @@ scenarios: presetHeaders: connectionclose connections: 32 serverScheme: https + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy cert for testing")] certPath: https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/Certificates/2048/testCert-2048.pfx + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a dummy password for testing")] certPwd: testPassword sslProtocol: tls12 @@ -261,4 +269,4 @@ scenarios: presetHeaders: connectionclose connections: 32 serverScheme: https - sslProtocol: tls12 \ No newline at end of file + sslProtocol: tls12