diff --git a/test/e2e/scenario/vulnerability-overflow/00-assert.yaml b/test/e2e/scenario/vulnerability-overflow/00-assert.yaml index 87ff6331..d7999838 100755 --- a/test/e2e/scenario/vulnerability-overflow/00-assert.yaml +++ b/test/e2e/scenario/vulnerability-overflow/00-assert.yaml @@ -7,4 +7,4 @@ spec: name: docker.io/kennship/http-echo status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/scenario_disabled/private-image/00-assert.yaml b/test/e2e/scenario_disabled/private-image/00-assert.yaml index 60668973..b5733f54 100644 --- a/test/e2e/scenario_disabled/private-image/00-assert.yaml +++ b/test/e2e/scenario_disabled/private-image/00-assert.yaml @@ -8,4 +8,4 @@ spec: name: ghcr.io/statnett/http-https-echo-internal status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/workload-scan/scan-cron-job/01-assert.yaml b/test/e2e/workload-scan/scan-cron-job/01-assert.yaml index 56e00bd3..2ddfe14f 100644 --- a/test/e2e/workload-scan/scan-cron-job/01-assert.yaml +++ b/test/e2e/workload-scan/scan-cron-job/01-assert.yaml @@ -8,4 +8,4 @@ spec: name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml b/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml index 44778ccc..1e2c34c7 100644 --- a/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml +++ b/test/e2e/workload-scan/scan-daemon-set/01-assert.yaml @@ -8,4 +8,4 @@ spec: name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/workload-scan/scan-deployment/01-assert.yaml b/test/e2e/workload-scan/scan-deployment/01-assert.yaml index 9e02f140..6627059a 100644 --- a/test/e2e/workload-scan/scan-deployment/01-assert.yaml +++ b/test/e2e/workload-scan/scan-deployment/01-assert.yaml @@ -8,4 +8,4 @@ spec: name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/workload-scan/scan-job/01-assert.yaml b/test/e2e/workload-scan/scan-job/01-assert.yaml index 9eec32e4..d58ad9fe 100644 --- a/test/e2e/workload-scan/scan-job/01-assert.yaml +++ b/test/e2e/workload-scan/scan-job/01-assert.yaml @@ -8,4 +8,4 @@ spec: name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/workload-scan/scan-pod/01-assert.yaml b/test/e2e/workload-scan/scan-pod/01-assert.yaml index 4321cfd5..bf7471e2 100644 --- a/test/e2e/workload-scan/scan-pod/01-assert.yaml +++ b/test/e2e/workload-scan/scan-pod/01-assert.yaml @@ -8,4 +8,4 @@ spec: name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/workload-scan/scan-replica-set/01-assert.yaml b/test/e2e/workload-scan/scan-replica-set/01-assert.yaml index ff83a24f..6253e7cf 100644 --- a/test/e2e/workload-scan/scan-replica-set/01-assert.yaml +++ b/test/e2e/workload-scan/scan-replica-set/01-assert.yaml @@ -8,4 +8,4 @@ spec: name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true diff --git a/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml b/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml index f8504e66..9dd2f5bc 100644 --- a/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml +++ b/test/e2e/workload-scan/scan-stateful-set/01-assert.yaml @@ -8,4 +8,4 @@ spec: name: docker.io/nginxinc/nginx-unprivileged status: vulnerabilitySummary: - severityCount: {} + (severityCount != null): true