Skip to content

Commit 40df053

Browse files
committed
(e2e)Ensure Rapidast logs a valid ZAP SARIF file
SARIF JSON schema downloaded from: https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/schemas/sarif-schema-2.1.0.json
1 parent 13903d8 commit 40df053

File tree

3 files changed

+3404
-0
lines changed

3 files changed

+3404
-0
lines changed

e2e-tests/manifests/rapidast-vapi-pod.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ spec:
2929
volumeMounts:
3030
- name: results
3131
mountPath: /opt/rapidast/results
32+
- command: ["bash", "-c", "cat /opt/rapidast/results/*/*/zap/zap-report.sarif.json"]
33+
image: registry.redhat.io/ubi9/ubi-micro
34+
name: resultsSarif
35+
volumeMounts:
36+
- name: results
37+
mountPath: /opt/rapidast/results
3238
volumes:
3339
- name: config-volume
3440
configMap:

0 commit comments

Comments
 (0)