|
1 | 1 | { |
2 | | - "tool": "Credential Scanner", |
3 | | - "suppressions": [ |
4 | | - { |
5 | | - "file": [ |
6 | | - "/eng/common/internal-feed-operations.ps1", |
7 | | - "/eng/common/internal-feed-operations.sh", |
8 | | - "/src/libraries/Common/src/Interop/Windows/WinHttp/Interop.winhttp_types.cs", |
9 | | - "/src/libraries/Common/src/System/Security/Cryptography/EccSecurityTransforms.cs", |
10 | | - "/src/libraries/Common/tests/System/Net/Configuration.Certificates.cs", |
11 | | - "/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Authentication.cs", |
12 | | - "/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs", |
13 | | - "/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.DefaultProxyCredentials.cs", |
14 | | - "/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Proxy.cs", |
15 | | - "/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs", |
16 | | - "/src/libraries/Common/tests/System/Net/Http/PostScenarioTest.cs", |
17 | | - "/src/libraries/Common/tests/System/Net/Prerequisites/Deployment/setup_certificates.ps1", |
18 | | - "/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyFileTests.cs", |
19 | | - "/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyFileTests.LimitedPrivate.cs", |
20 | | - "/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/RSAKeyFileTests.cs", |
21 | | - "/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/RSAKeyPemTests.cs", |
22 | | - "/src/libraries/System.Data.Common/tests/System/Data/Common/DbConnectionStringBuilderTest.cs", |
23 | | - "/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs", |
24 | | - "/src/libraries/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/constants.cs", |
25 | | - "/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalTest.cs", |
26 | | - "/src/libraries/System.DirectoryServices.AccountManagement/tests/UserPrincipalTest.cs", |
27 | | - "/src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs", |
28 | | - "/src/libraries/System.Net.Http/tests/UnitTests/DigestAuthenticationTests.cs", |
29 | | - "/src/libraries/System.Net.Http/tests/UnitTests/HttpEnvironmentProxyTest.cs", |
30 | | - "/src/libraries/System.Net.Mail/tests/Functional/SmtpClientTest.cs", |
31 | | - "/src/libraries/System.Net.Requests/src/System/Net/FtpControlStream.cs", |
32 | | - "/src/libraries/System.Net.Requests/src/System/Net/FtpWebRequest.cs", |
33 | | - "/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs", |
34 | | - "/src/libraries/System.Private.Uri/tests/ExtendedFunctionalTests/UriRelativeResolutionTest.cs", |
35 | | - "/src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderRefreshTest.cs", |
36 | | - "/src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderTests.cs", |
37 | | - "/src/libraries/System.Private.Uri/tests/FunctionalTests/UriRelativeResolutionTest.cs", |
38 | | - "/src/libraries/System.Runtime/tests/System/Uri.CreateStringTests.cs", |
39 | | - "/src/libraries/System.Security.Cryptography.Algorithms/tests/Rfc2898Tests.cs", |
40 | | - "/src/libraries/System.Security.Cryptography.Pkcs/tests/Pkcs12/Pkcs12Documents.cs", |
41 | | - "/src/libraries/System.Security.Cryptography.X509Certificates/tests/ExportTests.cs", |
42 | | - "/src/libraries/System.Security.Cryptography.Xml/tests/EncryptedXmlTest.cs", |
43 | | - "/src/libraries/System.Security.Cryptography.Xml/tests/SignedXmlTest.cs", |
44 | | - "/src/libraries/System.Security.Cryptography.Xml/tests/TestHelpers.cs" |
45 | | - ], |
46 | | - "_justification": "Mostly test files. Other files contain harmless examples or constants." |
47 | | - }, |
48 | | - ] |
| 2 | + "tool": "Credential Scanner", |
| 3 | + "suppressions": [ |
| 4 | + { |
| 5 | + "_justification": "Unit test containing connection strings under the test.", |
| 6 | + "file": [ |
| 7 | + "src/libraries/System.Data.Common/tests/System/Data/Common/DbConnectionStringBuilderTest.cs" |
| 8 | + ] |
| 9 | + }, |
| 10 | + { |
| 11 | + "_justification": "Private key for testing purpose.", |
| 12 | + "file": [ |
| 13 | + "src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSAKeyPemTests.cs", |
| 14 | + "src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyPemTests.cs", |
| 15 | + "src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/RSAKeyPemTests.cs", |
| 16 | + "src/libraries/System.Security.Cryptography.X509Certificates/tests/TestData.cs" |
| 17 | + ], |
| 18 | + "placeholder": [ |
| 19 | + "-----BEGIN PRIVATE KEY-----", |
| 20 | + "-----BEGIN * PRIVATE KEY-----" |
| 21 | + ] |
| 22 | + }, |
| 23 | + { |
| 24 | + "_justification": "Test credential for Uri testing", |
| 25 | + "file": [ |
| 26 | + "src/libraries/System.Net.Http/tests/UnitTests/HttpEnvironmentProxyTest.cs", |
| 27 | + "src/libraries/System.Private.Uri/tests/ExtendedFunctionalTests/UriRelativeResolutionTest.cs", |
| 28 | + "src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderRefreshTest.cs", |
| 29 | + "src/libraries/System.Private.Uri/tests/FunctionalTests/UriBuilderTests.cs", |
| 30 | + "src/libraries/System.Private.Uri/tests/FunctionalTests/UriRelativeResolutionTest.cs", |
| 31 | + "src/libraries/System.Runtime/tests/System/Uri.CreateStringTests.cs" |
| 32 | + ], |
| 33 | + "placeholder": [ |
| 34 | + "//*:;&$=123USERINFO@", |
| 35 | + "//*:bar@", |
| 36 | + "//*:bar1@", |
| 37 | + "//*:password1@", |
| 38 | + "//*:psw@", |
| 39 | + "//*:userinfo2@" |
| 40 | + ] |
| 41 | + }, |
| 42 | + { |
| 43 | + "_justification": "Generic test password.", |
| 44 | + "file": [ |
| 45 | + "src/libraries/Common/tests/System/Net/Configuration.Certificates.cs", |
| 46 | + "src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Authentication.cs", |
| 47 | + "src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs", |
| 48 | + "src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.DefaultProxyCredentials.cs", |
| 49 | + "src/libraries/Common/tests/System/Net/Http/PostScenarioTest.cs", |
| 50 | + "src/libraries/Common/tests/System/Net/Prerequisites/Deployment/setup_certificates.ps1", |
| 51 | + "src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs", |
| 52 | + "src/libraries/System.Net.Http/tests/UnitTests/DigestAuthenticationTests.cs", |
| 53 | + "src/libraries/System.Net.Http/tests/UnitTests/HttpEnvironmentProxyTest.cs", |
| 54 | + "src/libraries/System.Net.Mail/tests/Functional/SmtpClientTest.cs", |
| 55 | + "src/libraries/System.Security.Cryptography.Xml/tests/SignedXmlTest.cs", |
| 56 | + "src/libraries/System.Security.Cryptography.Xml/tests/TestHelpers.cs" |
| 57 | + ], |
| 58 | + "placeholder": [ |
| 59 | + "\"anotherpassword\"", |
| 60 | + "\"bar\"", |
| 61 | + "\"mono\"", |
| 62 | + "\"password1\"", |
| 63 | + "\"rightpassword\"", |
| 64 | + "\"testcertificate\"", |
| 65 | + "\"unused\"", |
| 66 | + "\"wrongpassword\"" |
| 67 | + ] |
| 68 | + } |
| 69 | + ] |
49 | 70 | } |
0 commit comments