Skip to content

Commit

Permalink
fix(KONFLUX-3663): upload SAST results to quay.io
Browse files Browse the repository at this point in the history
Configure the SAST task to upload SARIF results to quay.io for
long-term storage

Signed-off-by: ccronca <ccota@redhat.com>
  • Loading branch information
ccronca authored and coleenquadros committed Aug 19, 2024
1 parent 7586f8a commit aabd284
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .tekton/prometheus-config-reloader-acm-211-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ spec:
- "false"
- name: sast-snyk-check
runAfter:
- clone-repository
- build-container
taskRef:
params:
- name: name
Expand All @@ -357,6 +357,11 @@ spec:
workspaces:
- name: workspace
workspace: workspace
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: clamav-scan
params:
- name: image-digest
Expand Down
7 changes: 6 additions & 1 deletion .tekton/prometheus-config-reloader-acm-211-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ spec:
- "false"
- name: sast-snyk-check
runAfter:
- clone-repository
- build-container
taskRef:
params:
- name: name
Expand All @@ -354,6 +354,11 @@ spec:
workspaces:
- name: workspace
workspace: workspace
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: clamav-scan
params:
- name: image-digest
Expand Down
7 changes: 6 additions & 1 deletion .tekton/prometheus-operator-acm-211-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ spec:
- "false"
- name: sast-snyk-check
runAfter:
- clone-repository
- build-container
taskRef:
params:
- name: name
Expand All @@ -357,6 +357,11 @@ spec:
workspaces:
- name: workspace
workspace: workspace
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: clamav-scan
params:
- name: image-digest
Expand Down
7 changes: 6 additions & 1 deletion .tekton/prometheus-operator-acm-211-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ spec:
- "false"
- name: sast-snyk-check
runAfter:
- clone-repository
- build-container
taskRef:
params:
- name: name
Expand All @@ -354,6 +354,11 @@ spec:
workspaces:
- name: workspace
workspace: workspace
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: clamav-scan
params:
- name: image-digest
Expand Down

0 comments on commit aabd284

Please sign in to comment.