Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress credscan false positives in tls.benchmarks.yml #2084

Merged
merged 1 commit into from
Apr 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion scenarios/tls.benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -261,4 +269,4 @@ scenarios:
presetHeaders: connectionclose
connections: 32
serverScheme: https
sslProtocol: tls12
sslProtocol: tls12
Loading