From 1a65fd13af535cb72ba0b32a4a9b01e44c115751 Mon Sep 17 00:00:00 2001 From: tschneid Date: Fri, 29 Jul 2022 13:52:36 -0500 Subject: [PATCH] suppress false positives for passwords found in tests --- .config/CredScanSuppressions.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/CredScanSuppressions.json b/.config/CredScanSuppressions.json index d1aaccd12..4d54a7f42 100644 --- a/.config/CredScanSuppressions.json +++ b/.config/CredScanSuppressions.json @@ -1,6 +1,14 @@ { "tool": "Credential Scanner", "suppressions": [ + { + "file": "pkg/portal/kubeconfig/kubeconfig_test.go", + "_justification": "password used for testing" + }, + { + "file": "pkg/portal/ssh/ssh_test.go", + "_justification": "passwords used for testing" + }, { "file": "pkg/env/certificateRefresher_test.go", "_justification": "sample cert for testing"