mirror of https://github.com/CISOfy/lynis.git
Add translate function for all sections
+ add EN and FR up to date languages files
This commit is contained in:
parent
c2e0c28912
commit
67d04f2536
|
@ -14,12 +14,55 @@ NOTE_EXCEPTIONS_FOUND="Exceptions found"
|
|||
NOTE_EXCEPTIONS_FOUND_DETAILED="Some exceptional events or information was found"
|
||||
NOTE_PLUGINS_TAKE_TIME="Note: plugins have more extensive tests and may take several minutes to complete"
|
||||
NOTE_SKIPPED_TESTS_NON_PRIVILEGED="Skipped tests due to non-privileged mode"
|
||||
SECTION_ACCOUNTING="Accounting"
|
||||
SECTION_BANNERS_AND_IDENTIFICATION="Banners and identification"
|
||||
SECTION_BASICS="Basics"
|
||||
SECTION_BOOT_AND_SERVICES="Boot and services"
|
||||
SECTION_CONTAINERS="Containers"
|
||||
SECTION_CRYPTOGRAPHY="Cryptography"
|
||||
SECTION_CUSTOM_TESTS="Custom tests"
|
||||
SECTION_DATA_UPLOAD="Data upload"
|
||||
SECTION_DATABASES="Databases"
|
||||
SECTION_DOWNLOADS="Downloads"
|
||||
SECTION_EMAIL_AND_MESSAGING="Software: e-mail and messaging"
|
||||
SECTION_FILE_INTEGRITY="Software: file integrity"
|
||||
SECTION_FILE_PERMISSIONS="File Permissions"
|
||||
SECTION_FILE_SYSTEMS="File systems"
|
||||
SECTION_FIREWALLS="Software: firewalls"
|
||||
SECTION_GENERAL="General"
|
||||
SECTION_HARDENING="Hardening"
|
||||
SECTION_HOME_DIRECTORIES="Home directories"
|
||||
SECTION_IMAGE="Image"
|
||||
SECTION_INITIALIZING_PROGRAM="Initializing program"
|
||||
SECTION_MALWARE="Malware"
|
||||
SECTION_INSECURE_SERVICES="Insecure services"
|
||||
SECTION_KERNEL="Kernel"
|
||||
SECTION_KERNEL_HARDENING="Kernel Hardening"
|
||||
SECTION_LDAP_SERVICES="LDAP Services"
|
||||
SECTION_LOGGING_AND_FILES="Logging and files"
|
||||
SECTION_MALWARE="Software: Malware"
|
||||
SECTION_MEMORY_AND_PROCESSES="Memory and Processes"
|
||||
SECTION_NAME_SERVICES="Name services"
|
||||
SECTION_NETWORKING="Networking"
|
||||
SECTION_PERMISSIONS="Permissions"
|
||||
SECTION_PORTS_AND_PACKAGES="Ports and packages"
|
||||
SECTION_PRINTERS_AND_SPOOLS="Printers and Spools"
|
||||
SECTION_PROGRAM_DETAILS="Program Details"
|
||||
SECTION_SCHEDULED_TASKS="Scheduled tasks"
|
||||
SECTION_SECURITY_FRAMEWORKS="Security frameworks"
|
||||
SECTION_SHELLS="Shells"
|
||||
SECTION_SNMP_SUPPORT="SNMP Support"
|
||||
SECTION_SOFTWARE="Software"
|
||||
SECTION_SQUID_SUPPORT="Squid Support"
|
||||
SECTION_SSH_SUPPORT="SSH Support"
|
||||
SECTION_STORAGE="Storage"
|
||||
SECTION_SYSTEM_INTEGRITY="Software: System integrity"
|
||||
SECTION_SYSTEM_TOOLING="Software: System tooling"
|
||||
SECTION_SYSTEM_TOOLS="System tools"
|
||||
SECTION_TIME_AND_SYNCHRONIZATION="Time and Synchronization"
|
||||
SECTION_USB_DEVICES="USB Devices"
|
||||
SECTION_USERS_GROUPS_AND_AUTHENTICATION="Users, Groups and Authentication"
|
||||
SECTION_VIRTUALIZATION="Virtualization"
|
||||
SECTION_WEBSERVER="Software: webserver"
|
||||
STATUS_DISABLED="DISABLED"
|
||||
STATUS_DONE="DONE"
|
||||
STATUS_ENABLED="ENABLED"
|
||||
|
|
|
@ -2,7 +2,7 @@ ERROR_NO_LICENSE="Pas de clé de licence configurée"
|
|||
ERROR_NO_UPLOAD_SERVER="Pas de serveur de transfert configuré"
|
||||
GEN_CHECKING="Vérification"
|
||||
GEN_CURRENT_VERSION="Version actuelle"
|
||||
GEN_DEBUG_MODE="mode debug"
|
||||
GEN_DEBUG_MODE="mode débug"
|
||||
GEN_INITIALIZE_PROGRAM="Initialisation"
|
||||
GEN_LATEST_VERSION="Dernière version"
|
||||
GEN_PHASE="phase"
|
||||
|
@ -12,34 +12,77 @@ GEN_VERBOSE_MODE="mode verbeux"
|
|||
GEN_WHAT_TO_DO="Que faire"
|
||||
NOTE_EXCEPTIONS_FOUND="Exceptions trouvées"
|
||||
NOTE_EXCEPTIONS_FOUND_DETAILED="Des événements ou informations exceptionnels ont été trouvés"
|
||||
NOTE_PLUGINS_TAKE_TIME="Note : Les plugins ont des tests plus poussés et peuvent prendre plusieurs minutes"
|
||||
NOTE_PLUGINS_TAKE_TIME="Note : Les plugins ont des tests plus poussés qui peuvent prendre plusieurs minutes"
|
||||
NOTE_SKIPPED_TESTS_NON_PRIVILEGED="Tests ignorés faute de privilèges"
|
||||
SECTION_ACCOUNTING="Comptes"
|
||||
SECTION_BANNERS_AND_IDENTIFICATION="Bannières et identification"
|
||||
SECTION_BASICS="Basics"
|
||||
SECTION_BOOT_AND_SERVICES="Démarrage et services"
|
||||
SECTION_CONTAINERS="Conteneurs"
|
||||
SECTION_CRYPTOGRAPHY="Cryptographie"
|
||||
SECTION_CUSTOM_TESTS="Tests personnalisés"
|
||||
SECTION_DATA_UPLOAD="Téléchargement de données"
|
||||
SECTION_DATABASES="Bases de données"
|
||||
SECTION_DOWNLOADS="Téléchargements"
|
||||
SECTION_EMAIL_AND_MESSAGING="Logiciel : Email et messagerie"
|
||||
SECTION_FILE_INTEGRITY="Logiciel : Intégrité de fichier"
|
||||
SECTION_FILE_PERMISSIONS="Permissions de fichier"
|
||||
SECTION_FILE_SYSTEMS="Systèmes de fichier"
|
||||
SECTION_FIREWALLS="Logiciel : Pare-feux"
|
||||
SECTION_GENERAL="Général"
|
||||
SECTION_HARDENING="Hardening"
|
||||
SECTION_HOME_DIRECTORIES="Home directories"
|
||||
SECTION_IMAGE="Image"
|
||||
SECTION_INITIALIZING_PROGRAM="Initialisation du programme"
|
||||
SECTION_MALWARE="Malware"
|
||||
SECTION_INSECURE_SERVICES="Services non sécurisés"
|
||||
SECTION_KERNEL="Noyau"
|
||||
SECTION_KERNEL_HARDENING="Kernel Hardening"
|
||||
SECTION_LDAP_SERVICES="Services LDAP"
|
||||
SECTION_LOGGING_AND_FILES="Journalisation et fichiers"
|
||||
SECTION_MALWARE="Logiciel : Malware"
|
||||
SECTION_MEMORY_AND_PROCESSES="Mémoire et processus"
|
||||
SECTION_NAME_SERVICES="Services de noms"
|
||||
SECTION_NETWORKING="Mise en réseau"
|
||||
SECTION_PERMISSIONS="Permissions"
|
||||
SECTION_PORTS_AND_PACKAGES="Ports et packages"
|
||||
SECTION_PRINTERS_AND_SPOOLS="Imprimantes et serveurs d'impression"
|
||||
SECTION_PROGRAM_DETAILS="Détails du programme"
|
||||
SECTION_SCHEDULED_TASKS="Tâches planifiées"
|
||||
SECTION_SECURITY_FRAMEWORKS="Security frameworks"
|
||||
SECTION_SHELLS="Shells"
|
||||
SECTION_SNMP_SUPPORT="Prise en charge SNMP"
|
||||
SECTION_SOFTWARE="Logiciel"
|
||||
SECTION_SQUID_SUPPORT="Prise en charge Squid"
|
||||
SECTION_SSH_SUPPORT="Prise en charge SSH"
|
||||
SECTION_STORAGE="Stockage"
|
||||
SECTION_SYSTEM_INTEGRITY="Logiciel : Intégrité du système"
|
||||
SECTION_SYSTEM_TOOLING="Logiciel : System tooling"
|
||||
SECTION_SYSTEM_TOOLS="Outils système"
|
||||
SECTION_TIME_AND_SYNCHRONIZATION="Heure et synchronisation"
|
||||
SECTION_USB_DEVICES="Périphériques USB"
|
||||
SECTION_USERS_GROUPS_AND_AUTHENTICATION="Utilisateurs, groupes et authentification"
|
||||
SECTION_VIRTUALIZATION="Virtualisation"
|
||||
SECTION_WEBSERVER="Logiciel : Serveur web"
|
||||
STATUS_DISABLED="DÉSACTIVÉ"
|
||||
STATUS_DONE="FAIT"
|
||||
STATUS_ENABLED="ACTIVÉ"
|
||||
STATUS_ERROR="ERREUR"
|
||||
STATUS_FAILED="ÉCHOUÉ"
|
||||
STATUS_FOUND="TROUVÉ"
|
||||
STATUS_OFF="OFF"
|
||||
STATUS_OK="OK"
|
||||
STATUS_ON="ON"
|
||||
STATUS_NO="NON"
|
||||
STATUS_NONE="AUCUN"
|
||||
STATUS_NOT_CONFIGURED="NON CONFIGURÉ"
|
||||
STATUS_NOT_FOUND="NON TROUVÉ"
|
||||
STATUS_NOT_RUNNING="NON LANCÉ"
|
||||
STATUS_OFF="OFF"
|
||||
STATUS_OK="OK"
|
||||
STATUS_ON="ON"
|
||||
STATUS_RUNNING="EN COURS"
|
||||
STATUS_SKIPPED="IGNORÉ"
|
||||
STATUS_SUGGESTION="SUGGESTION"
|
||||
STATUS_UNKNOWN="INCONNU"
|
||||
STATUS_WARNING="ATTENTION"
|
||||
STATUS_WARNING="AVERTISSEMENT"
|
||||
STATUS_WEAK="FAIBLE"
|
||||
STATUS_YES="OUI"
|
||||
TEXT_YOU_CAN_HELP_LOGFILE="Vous pouvez aider en envoyant votre fichier journal"
|
||||
TEXT_UPDATE_AVAILABLE="Mise à jour disponible"
|
||||
TEXT_YOU_CAN_HELP_LOGFILE="Vous pouvez aider en envoyant votre fichier journal"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#################################################################################
|
||||
#
|
||||
if [ ${CHECK_BINARIES} -eq 1 ]; then
|
||||
InsertSection "System Tools"
|
||||
InsertSection "${SECTION_SYSTEM_TOOLS}"
|
||||
Display --indent 2 --text "- Scanning available tools..."
|
||||
LogText "Start scanning for available audit binaries and tools..."
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ fi
|
|||
##################################################################################################
|
||||
#
|
||||
|
||||
InsertSection "Image"
|
||||
InsertSection "${SECTION_IMAGE}"
|
||||
|
||||
PKGMGR=""
|
||||
FIND=$(grep "^FROM" ${AUDIT_FILE} | sed 's/ /:space:/g')
|
||||
|
@ -93,7 +93,7 @@ fi
|
|||
#
|
||||
##################################################################################################
|
||||
#
|
||||
InsertSection "Basics"
|
||||
InsertSection "${SECTION_BASICS}"
|
||||
|
||||
MAINTAINER=$(grep -E -i "*MAINTAINER" ${AUDIT_FILE} | sed 's/=/ /g' | cut -d'"' -f 2)
|
||||
if [ -z "${MAINTAINER}" ]; then
|
||||
|
@ -127,7 +127,7 @@ fi
|
|||
#
|
||||
##################################################################################################
|
||||
#
|
||||
InsertSection "Software"
|
||||
InsertSection "${SECTION_SOFTWARE}"
|
||||
|
||||
case $PKGMGR in
|
||||
"apt")
|
||||
|
@ -166,7 +166,7 @@ fi
|
|||
#
|
||||
##################################################################################################
|
||||
#
|
||||
InsertSection "Downloads"
|
||||
InsertSection "${SECTION_DOWNLOADS}"
|
||||
|
||||
FILE_DOWNLOAD=0
|
||||
|
||||
|
@ -217,7 +217,7 @@ fi
|
|||
#
|
||||
##################################################################################################
|
||||
#
|
||||
InsertSection "Permissions"
|
||||
InsertSection "${SECTION_PERMISSIONS}"
|
||||
|
||||
FIND=$(grep -i "chmod 777" ${AUDIT_FILE})
|
||||
if HasData "${FIND}"; then
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Accounting"
|
||||
InsertSection "${SECTION_ACCOUNTING}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Users, Groups and Authentication"
|
||||
InsertSection "${SECTION_USERS_GROUPS_AND_AUTHENTICATION}"
|
||||
|
||||
# Test : AUTH-9204
|
||||
# Description : Check users with UID zero (0)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Banners and identification"
|
||||
InsertSection "${SECTION_BANNERS_AND_IDENTIFICATION}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Boot and services"
|
||||
InsertSection "${SECTION_BOOT_AND_SERVICES}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Containers"
|
||||
InsertSection "${SECTION_CONTAINERS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Cryptography"
|
||||
InsertSection "${SECTION_CRYPTOGRAPHY}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Databases"
|
||||
InsertSection "${SECTION_DATABASES}"
|
||||
|
||||
# Test : DBS-1804
|
||||
# Description : Check if MySQL is being used
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Software: file integrity"
|
||||
InsertSection "${SECTION_FILE_INTEGRITY}"
|
||||
Display --indent 2 --text "- Checking file integrity tools"
|
||||
#
|
||||
#################################################################################
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "File Permissions"
|
||||
InsertSection "${SECTION_FILE_PERMISSIONS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "File systems"
|
||||
InsertSection "${SECTION_FILE_SYSTEMS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Software: firewalls"
|
||||
InsertSection "${SECTION_FIREWALLS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Hardening"
|
||||
InsertSection "${SECTION_HARDENING}"
|
||||
|
||||
# COMPILER_INSTALLED is initialized before
|
||||
HARDEN_COMPILERS_NEEDED=0
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Home directories"
|
||||
InsertSection "${SECTION_HOME_DIRECTORIES}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Insecure services"
|
||||
InsertSection "${SECTION_INSECURE_SERVICES}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Kernel"
|
||||
InsertSection "${SECTION_KERNEL}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Kernel Hardening"
|
||||
InsertSection "${SECTION_KERNEL_HARDENING}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "LDAP Services"
|
||||
InsertSection "${SECTION_LDAP_SERVICES}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Logging and files"
|
||||
InsertSection "${SECTION_LOGGING_AND_FILES}"
|
||||
|
||||
# Test : LOGG-2130
|
||||
# Description : Check for a running syslog daemon
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
SELINUXFOUND=0
|
||||
TOMOYOFOUND=0
|
||||
|
||||
InsertSection "Security frameworks"
|
||||
InsertSection "${SECTION_SECURITY_FRAMEWORKS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Software: e-mail and messaging"
|
||||
InsertSection "${SECTION_EMAIL_AND_MESSAGING}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Software: ${SECTION_MALWARE}"
|
||||
InsertSection "${SECTION_MALWARE}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Name services"
|
||||
InsertSection "${SECTION_NAME_SERVICES}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Networking"
|
||||
InsertSection "${SECTION_NETWORKING}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Ports and packages"
|
||||
InsertSection "${SECTION_PORTS_AND_PACKAGES}"
|
||||
PACKAGE_MGR_PKG=0
|
||||
PACKAGE_AUDIT_TOOL=""
|
||||
PACKAGE_AUDIT_TOOL_FOUND=0
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Printers and Spools"
|
||||
InsertSection "${SECTION_PRINTERS_AND_SPOOLS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Scheduled tasks"
|
||||
InsertSection "${SECTION_SCHEDULED_TASKS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#################################################################################
|
||||
#
|
||||
IDLE_TIMEOUT=0
|
||||
InsertSection "Shells"
|
||||
InsertSection "${SECTION_SHELLS}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "SNMP Support"
|
||||
InsertSection "${SECTION_SNMP_SUPPORT}"
|
||||
|
||||
# Test : SNMP-3302
|
||||
# Description : Check for a running SNMP daemon
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Squid Support"
|
||||
InsertSection "${SECTION_SQUID_SUPPORT}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "SSH Support"
|
||||
InsertSection "${SECTION_SSH_SUPPORT}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Storage"
|
||||
InsertSection "${SECTION_STORAGE}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Software: system integrity"
|
||||
InsertSection "${SECTION_SYSTEM_INTEGRITY}"
|
||||
Display --indent 2 --text "- Checking file integrity tools"
|
||||
#
|
||||
#################################################################################
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Time and Synchronization"
|
||||
InsertSection "${SECTION_TIME_AND_SYNCHRONIZATION}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Software: System tooling"
|
||||
InsertSection "${SECTION_SYSTEM_TOOLING}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "USB Devices"
|
||||
InsertSection "${SECTION_USB_DEVICES}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Virtualization"
|
||||
InsertSection "${SECTION_VIRTUALIZATION}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Software: webserver"
|
||||
InsertSection "${SECTION_WEBSERVER}"
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
4
lynis
4
lynis
|
@ -862,7 +862,7 @@ ${NORMAL}
|
|||
#################################################################################
|
||||
#
|
||||
if IsVerbose; then
|
||||
InsertSection "Program Details"
|
||||
InsertSection "${SECTION_PROGRAM_DETAILS}"
|
||||
Display --indent 2 --text "- ${GEN_VERBOSE_MODE}" --result "YES" --color GREEN
|
||||
if IsDebug; then
|
||||
Display --indent 2 --text "- ${GEN_DEBUG_MODE}" --result "YES" --color GREEN
|
||||
|
@ -1017,7 +1017,7 @@ ${NORMAL}
|
|||
LogText "Exception: skipping test category ${INCLUDE_TEST}, file ${INCLUDE_FILE} has bad permissions (should be 640, 600 or 400)"
|
||||
ReportWarning "NONE" "Invalid permissions on tests file tests_${INCLUDE_TEST}"
|
||||
# Insert a section and warn user also on screen
|
||||
InsertSection "General"
|
||||
InsertSection "${SECTION_GENERAL}"
|
||||
Display --indent 2 --text "- Running test category ${INCLUDE_TEST}... " --result "SKIPPED" --color RED
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue