Show possible solution with findings

This commit is contained in:
Michael Boelen 2016-09-24 15:51:05 +02:00
parent 98d9096739
commit 870ac295c6
3 changed files with 7 additions and 3 deletions

View File

@ -54,6 +54,9 @@ quick=no
# Refresh software repositories to help detecting vulnerable packages
refresh-repositories=yes
# Show solution for findings
show-report-solution=yes
# Show inline tips about the tool
show-tool-tips=yes

View File

@ -219,7 +219,7 @@ unset LANG
SHOWMOUNTBINARY=""
SHOW_PROGRAM_DETAILS=1
SHOW_REPORT=1
SHOW_REPORT_SOLUTION=0
SHOW_REPORT_SOLUTION=1
SHOW_TOOL_TIPS=1 # Show inline tool tips (default true)
SHOW_WARNINGS_ONLY=0
SKIP_PLUGINS=0

View File

@ -233,8 +233,9 @@
# Show more details in report
show-report-solution)
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)$") && SHOW_REPORT_SOLUTION=1
if [ ! -z "${FIND}" ]; then SETTING_SHOW_REPORT_SOLUTION=1; fi
SETTING_SHOW_REPORT_SOLUTION=${SHOW_REPORT_SOLUTION}
FIND=$(echo "${VALUE}" | egrep "^(0|false|no)$") && SHOW_REPORT_SOLUTION=0
if [ ! -z "${FIND}" ]; then SETTING_SHOW_REPORT_SOLUTION=0; fi
Debug "Show report details (solution) set to ${SETTING_SHOW_REPORT_SOLUTION}"
;;