From cdb524589b174b432236fa8440ea5f40004c66c0 Mon Sep 17 00:00:00 2001 From: Adam Cmiel Date: Mon, 5 Aug 2024 17:18:27 +0200 Subject: [PATCH 1/2] WIP: try reporting results to snyk.io Signed-off-by: Adam Cmiel --- .tekton/pull-request.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.tekton/pull-request.yaml b/.tekton/pull-request.yaml index 55279e1dd4..ea544bf679 100644 --- a/.tekton/pull-request.yaml +++ b/.tekton/pull-request.yaml @@ -52,6 +52,8 @@ spec: params: - name: SNYK_SECRET value: snyk-shared-secret + - name: ARGS + value: --report --project-name=konflux-ci/build-definitions runAfter: - fetch-repository taskRef: From f510c01a69e8c848848d6b828d71f15b436b9ff1 Mon Sep 17 00:00:00 2001 From: Adam Cmiel Date: Mon, 5 Aug 2024 18:06:21 +0200 Subject: [PATCH 2/2] Fix snyk secret name Signed-off-by: Adam Cmiel --- .tekton/pull-request.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.tekton/pull-request.yaml b/.tekton/pull-request.yaml index ea544bf679..857a300652 100644 --- a/.tekton/pull-request.yaml +++ b/.tekton/pull-request.yaml @@ -50,8 +50,6 @@ spec: value: [".", "-c", "/workspace/shared-workspace/source/.yamllint"] - name: sast-snyk-check params: - - name: SNYK_SECRET - value: snyk-shared-secret - name: ARGS value: --report --project-name=konflux-ci/build-definitions runAfter: