aboutsummaryrefslogtreecommitdiffstats
path: root/security/scripts/check_security_root.sh
diff options
context:
space:
mode:
authorVirginie <virginie.lefilleul@orange.com>2020-11-03 09:57:02 +0100
committerVirginie <virginie.lefilleul@orange.com>2020-11-04 16:21:43 +0100
commit2b56600b62de822f33135a21b6c5354561f7cbc9 (patch)
tree4c570ae7588eb7a0581547684141c6a286e4ff2b /security/scripts/check_security_root.sh
parent559771fe0fd39ef11b6fdd3c18af6a25f899ada0 (diff)
Display waivers content for the security tests
Issue-ID: INT-1764 Signed-off-by: Virginie <virginie.lefilleul@orange.com> Change-Id: Id6ae70d90d2e1f360642160768b4658d17c45046 Signed-off-by: mrichomme <morgan.richomme@orange.com> Signed-off-by: Virginie <virginie.lefilleul@orange.com>
Diffstat (limited to 'security/scripts/check_security_root.sh')
-rw-r--r--security/scripts/check_security_root.sh7
1 files changed, 7 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