diff options
-rw-r--r-- | security/scripts/check_security_root.sh | 7 | ||||
-rw-r--r-- | security/scripts/check_unlimitted_pods.sh | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/security/scripts/check_security_root.sh b/security/scripts/check_security_root.sh index 5dd40f8..8fd35db 100644 --- a/security/scripts/check_security_root.sh +++ b/security/scripts/check_security_root.sh @@ -42,6 +42,13 @@ echo "-------------------- ONAP Security tests ----------------------------" echo "-------------------- Test root user in pods -------------------------" echo "------------------------------------------------------------------------" +# Display the waivers +if [ -s $XL_FILE_PATH ]; then + echo -e "--------------------\e[0;31m WARNING \e[0;m XFail List ----------------------------" + cat $WL_FILE_PATH + echo "------------------------------------------------------------------------" +fi + code=0 # get the pod list diff --git a/security/scripts/check_unlimitted_pods.sh b/security/scripts/check_unlimitted_pods.sh index 1fc5e69..2e2a0e7 100644 --- a/security/scripts/check_unlimitted_pods.sh +++ b/security/scripts/check_unlimitted_pods.sh @@ -41,6 +41,13 @@ echo "-------------------- ONAP Security tests ----------------------------" echo "-------------------- Test pods without limit ------------------------" echo "------------------------------------------------------------------------" +# Display the waivers +if [ -s $XL_FILE_PATH ]; then + echo -e "--------------------\e[0;31m WARNING \e[0;m XFail List ----------------------------" + cat $WL_FILE_PATH + echo "------------------------------------------------------------------------" +fi + code=0 # get the pod list |