Code Review
/
validation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Change the criticality of kube-hunter test"
[validation.git]
/
tests
/
k8s
/
kube-hunter
/
kube-hunter.resource
diff --git
a/tests/k8s/kube-hunter/kube-hunter.resource
b/tests/k8s/kube-hunter/kube-hunter.resource
index
4611e75
..
6651ddc
100644
(file)
--- a/
tests/k8s/kube-hunter/kube-hunter.resource
+++ b/
tests/k8s/kube-hunter/kube-hunter.resource
@@
-89,7
+89,9
@@
Delete Scan Job
Should Be Equal As Integers ${result.rc} 0
Should Discover No Vulnerabilities
Should Be Equal As Integers ${result.rc} 0
Should Discover No Vulnerabilities
- Should Be True ${STATUS}
+ Return From Keyword If ${STATUS}
+ Fail Vulnerabilities discovered
+ ... non-critical
Run Scan Within Pod
${result}= Run Process kubectl apply -f ${CURDIR}/job.yaml
Run Scan Within Pod
${result}= Run Process kubectl apply -f ${CURDIR}/job.yaml