Vulnerabilities discovered by kube-hunter does not impact to overall
result of test suite execution.
Change-Id: If3593412e68f397258de0fe7dcf86f102ae4d0ce
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
# run the test
args = ["robot", "-V", str(variables_updated_file), "-d", str(results_path),
- "-b", "debug.log", str(test_path)]
+ "-n", "non-critical", "-b", "debug.log", str(test_path)]
print('Executing testcase {}'.format(name))
print('show_stopper {}'.format(show_stopper))
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