Skip to content

Commit

Permalink
test(e2e): make chainsaw really assert status (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgb authored Jul 22, 2024
1 parent d3909f6 commit c5e5314
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/e2e/scenario/vulnerability-overflow/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
name: docker.io/kennship/http-echo
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/scenario_disabled/private-image/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: ghcr.io/statnett/http-https-echo-internal
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/workload-scan/scan-cron-job/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: docker.io/nginxinc/nginx-unprivileged
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/workload-scan/scan-daemon-set/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: docker.io/nginxinc/nginx-unprivileged
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/workload-scan/scan-deployment/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: docker.io/nginxinc/nginx-unprivileged
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/workload-scan/scan-job/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: docker.io/nginxinc/nginx-unprivileged
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/workload-scan/scan-pod/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: docker.io/nginxinc/nginx-unprivileged
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/workload-scan/scan-replica-set/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: docker.io/nginxinc/nginx-unprivileged
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true
2 changes: 1 addition & 1 deletion test/e2e/workload-scan/scan-stateful-set/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: docker.io/nginxinc/nginx-unprivileged
status:
vulnerabilitySummary:
severityCount: {}
(severityCount != null): true

0 comments on commit c5e5314

Please sign in to comment.