Skip to content

Commit

Permalink
Make credscan run clean (dotnet#4876)
Browse files Browse the repository at this point in the history
* suppressions

* more

* typo
  • Loading branch information
danmoseley authored Jul 12, 2024
1 parent a133411 commit 681f2e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .config/CredScanSuppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
{
"placeholder": "thisIsAFakeSecret",
"_justification": "This isn't a real secret, it's used in one of the playground applications for testing purposes."
},
{
"file": "\\tests\\Shared\\TestCertificates\\eku.client.pfx",
"_justification": "Legitimate UT certificate file with private key, from dotnet/aspnetcore"
},
{
"file": "\\tests\\Shared\\TestCertificates\\testCert.pfx",
"_justification": "Legitimate UT certificate file with private key, from dotnet/aspnetcore"
}
]
}
4 changes: 4 additions & 0 deletions tests/Shared/TestCertificates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
Unless otherwise stated, these certificates are copied from dotnet/aspnetcore:

https://github.com/dotnet/aspnetcore/tree/main/src/Shared/TestCertificates

If you add more, please also copy the suppression entries from this file in dotnet/aspnetcore:

.config\CredScanSuppressions.json

0 comments on commit 681f2e7

Please sign in to comment.