mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34:25 +02:00
Display only the tools actually found, to keep screen output as clean as possible
This commit is contained in:
parent
46f9a3dec8
commit
f3bd9ca9ad
@ -160,7 +160,6 @@
|
|||||||
Display --indent 4 --text "- Tripwire" --result FOUND --color GREEN
|
Display --indent 4 --text "- Tripwire" --result FOUND --color GREEN
|
||||||
else
|
else
|
||||||
logtext "Result: Tripwire is not installed"
|
logtext "Result: Tripwire is not installed"
|
||||||
Display --indent 4 --text "- Tripwire" --result "NOT FOUND" --color WHITE
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
@ -178,7 +177,6 @@
|
|||||||
FILE_INT_TOOL_FOUND=1
|
FILE_INT_TOOL_FOUND=1
|
||||||
Display --indent 4 --text "- OSSEC (syscheck)" --result FOUND --color GREEN
|
Display --indent 4 --text "- OSSEC (syscheck)" --result FOUND --color GREEN
|
||||||
else
|
else
|
||||||
Display --indent 4 --text "- OSSEC (syscheck)" --result "NOT FOUND" --color WHITE
|
|
||||||
logtext "Result: syscheck (OSSEC) not installed"
|
logtext "Result: syscheck (OSSEC) not installed"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -263,7 +261,7 @@
|
|||||||
else
|
else
|
||||||
logtext "Result: No file integrity tools found"
|
logtext "Result: No file integrity tools found"
|
||||||
Display --indent 2 --text "- Checking presence integrity tool" --result "NOT FOUND" --color YELLOW
|
Display --indent 2 --text "- Checking presence integrity tool" --result "NOT FOUND" --color YELLOW
|
||||||
ReportSuggestion ${TEST_NO} "Install a file integrity tool"
|
ReportSuggestion ${TEST_NO} "Install a file integrity tool to monitor changes to critical and sensitive files"
|
||||||
AddHP 0 5
|
AddHP 0 5
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user