diff --git a/.config/credscan/Suppressions.json b/.config/credscan/Suppressions.json new file mode 100644 index 000000000..419b41b02 --- /dev/null +++ b/.config/credscan/Suppressions.json @@ -0,0 +1,9 @@ +{ + "tool": "Credential Scanner", + "suppressions": [ + { + "file": "artifacts/bin/Microsoft.TryDotNet.IntegrationTests/Release/net9.0/.playwright/package/ThirdPartyNotices.txt", + "_justification": "This file is a third party notice text file, but not a real issue, and not one we distribute" + } + ] +} \ No newline at end of file diff --git a/azure-pipelines-CI.yml b/azure-pipelines-CI.yml index 9e0b238dc..f29ead958 100644 --- a/azure-pipelines-CI.yml +++ b/azure-pipelines-CI.yml @@ -64,6 +64,9 @@ extends: allTools: true policheck: enabled: true + credscan: + enabled: true + suppressionsFile: $(Build.SourcesDirectory)/.config/credscan/Suppressions.json stages: - stage: build