From ebbdbd88a2a8bd79ffd90861062b02fed05f35d2 Mon Sep 17 00:00:00 2001 From: Dale Hirt <2246127+dalehhirt@users.noreply.github.com> Date: Wed, 19 Feb 2025 14:02:01 -0800 Subject: [PATCH] fix: update credscan to supress text file --- .config/credscan/Suppressions.json | 9 +++++++++ azure-pipelines-CI.yml | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 .config/credscan/Suppressions.json 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