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

Ignore as keys/pwd are only used in tests #15459

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"file": "src\\test\\datascience\\serverConfigFiles\\jkey.key",
"_justification": "Key file used for testing purposes, it is not a key relating to anything real"
},
{
"file": "src\\test\\datascience\\serverConfigFiles\\remotePassword.py",
"_justification": "The secret in this file used here for testing."
}
]
}
1 change: 1 addition & 0 deletions src/test/datascience/serverConfigFiles/jkey.key
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="[Used for Testing]")]
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCqRHBDELz8EsN1
5eHKrdo8GpMwwW0QeXcVvklVIRp8j3OiJnuB4qD9XId/jqo1Z7LZ3tlipN2w56U0
Expand Down
2 changes: 1 addition & 1 deletion src/test/datascience/serverConfigFiles/remotePassword.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
c.NotebookApp.port = 9799
c.NotebookApp.open_browser = False
# Python
#[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="[Used for testing]")]
c.NotebookApp.password = "sha1:74182e119a7b:e1b98bbba98f9ada3fd714eda9652437e80082e2"

Loading