Bug: Unbound variable in vulnerability scanning script #85
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
sig/k8s-infra
Categorizes an issue or PR as relevant to SIG K8s Infra.
sig/security
Categorizes an issue or PR as relevant to SIG Security.
sig/testing
Categorizes an issue or PR as relevant to SIG Testing.
Job run: https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-snyk-master/1643706990876168192/build-log.txt
Fix needs to happen where
TOTAL_COUNT
variable is set asnull
when curl command returns this error:We need to check if the variable is "null" and then fail the job if it is since that means we are unable to filter out vulnerabilities that we can.
Something like this would work (optional improvements for redundant code are welcome too):
/sig security testing k8s-infra
/kind bug
The text was updated successfully, but these errors were encountered: