From 8267544bf2177ede0a1d9e153b21e393d19214be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Wed, 3 Jan 2024 14:41:59 +0100 Subject: [PATCH 1/2] Fix syntax in .skyk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This previously caused the job to fail with: ✗ [High] the referenced anchor is not defined: */vendor/** ID: 62e8960c-5e98-4900-b60c-b67ea2a03767 Path: .snyk, line 7 Info: the referenced anchor is not defined: */vendor/** --- .snyk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.snyk b/.snyk index d48ae86171..81c3afee4d 100644 --- a/.snyk +++ b/.snyk @@ -3,5 +3,5 @@ # https://docs.snyk.io/snyk-cli/commands/ignore exclude: global: - - vendor/** - - **/vendor/** + - "vendor/**" + - "**/vendor/**" From 7ad39aaa535654607b371a3519b3e1fd492294ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Wed, 3 Jan 2024 14:59:58 +0100 Subject: [PATCH 2/2] Ignore more files for snyk security scans We can ignore things that do not end up in the product. --- .snyk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.snyk b/.snyk index 81c3afee4d..579158fed4 100644 --- a/.snyk +++ b/.snyk @@ -5,3 +5,6 @@ exclude: global: - "vendor/**" - "**/vendor/**" + - "hack/**" + - "test/**" + - "**/*_test.go"