Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-08-10 08:24:10 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-08-10 08:24:10 +0300
commitf9b2993f355c84497c24d709ea2c4f955510cbe0 (patch)
treef9a2da4d89483cb95f138b1855c1758a03e00648 /include/helper_audit_dockerfile
parentfc2d9b935ccd66a8c2e76150400b891647fdf4a4 (diff)
Removed unneeded field
Diffstat (limited to 'include/helper_audit_dockerfile')
-rw-r--r--include/helper_audit_dockerfile8
1 files changed, 4 insertions, 4 deletions
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
#
##################################################################################################