From f9b2993f355c84497c24d709ea2c4f955510cbe0 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 10 Aug 2016 07:24:10 +0200 Subject: Removed unneeded field --- include/helper_audit_dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/helper_audit_dockerfile') diff --git a/include/helper_audit_dockerfile b/include/helper_audit_dockerfile index cabb9e92..faf1ab98 100644 --- a/include/helper_audit_dockerfile +++ b/include/helper_audit_dockerfile @@ -97,7 +97,7 @@ InsertSection "Basics" FIND=`egrep "^MAINTAINER" ${AUDIT_FILE} | sed 's/ /:space:/g'` if [ "${FIND}" = "" ]; then - ReportWarning "dockerfile" "L" "No maintainer found. Unclear who created this file." + ReportWarning "dockerfile" "No maintainer found. Unclear who created this file." else MAINTAINER=`echo ${FIND} | sed 's/:space:/ /g' | awk '{ if($1=="MAINTAINER") { print }}'` Display --indent 2 --text "Maintainer" --result "${MAINTAINER}" @@ -125,7 +125,7 @@ InsertSection "Basics" FIND=`egrep " (gcc|libc6-dev|make)" ${AUDIT_FILE} | grep -v "^#"` if [ ! "${FIND}" = "" ]; then - ReportWarning "dockerfile" "L" "Possible development utilities found, which is not advised for production environment" + ReportWarning "dockerfile" "Possible development utilities found, which is not advised for production environment" LogText "Details: ${FIND}" fi @@ -160,7 +160,7 @@ InsertSection "Basics" FIND=`grep "^ADD http" ${AUDIT_FILE}` if [ ! "${FIND}" = "" ]; then FILE_DOWNLOAD=1 - ReportWarning "dockerfile" "L" "Found download of file via ADD. Unclear if the integrity of this file is checked, or file is signed" + ReportWarning "dockerfile" "Found download of file via ADD. Unclear if the integrity of this file is checked, or file is signed" LogText "Details: ${FIND}" fi @@ -193,7 +193,7 @@ InsertSection "Basics" FIND=`grep -i "chmod 777" ${AUDIT_FILE}` if [ ! "${FIND}" = "" ]; then - ReportWarning "dockerfile" "L" "Warning: chmod 777 found" + ReportWarning "dockerfile" "Warning: chmod 777 found" fi # ################################################################################################## -- cgit v1.2.3