From 6283e0d083d96b47b2467c652258cb094bb0f7d8 Mon Sep 17 00:00:00 2001 From: echairez Date: Mon, 2 Oct 2023 13:12:14 -0400 Subject: [PATCH] suppress false alarms in cred scan --- .config/CredScanSuppressions.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .config/CredScanSuppressions.json diff --git a/.config/CredScanSuppressions.json b/.config/CredScanSuppressions.json new file mode 100644 index 000000000..e8451b4dd --- /dev/null +++ b/.config/CredScanSuppressions.json @@ -0,0 +1,13 @@ +{ + "tool": "Credential Scanner", + "suppressions": [ + { + "file": "test/utils/credentials/credentials.go", + "_justification": "False positive variable." + }, + { + "file": "vendor/k8s.io/kubernetes/test/utils/admission_webhook.go", + "_justification": "An example certificate with command to create it to go along with it." + } + ] +}