mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Show different status on screen when expired SSL certificates were found
This commit is contained in:
parent
d4b1812962
commit
8cefc0f7b9
1 changed files with 2 additions and 2 deletions
|
|
@ -64,9 +64,9 @@
|
|||
done
|
||||
|
||||
if [ ${FOUNDPROBLEM} -eq 0 ]; then
|
||||
Display --indent 2 --text "- Checking SSL certificate expiration" --result OK --color GREEN
|
||||
Display --indent 2 --text "- Checking for expired SSL certificates" --result NONE --color GREEN
|
||||
else
|
||||
Display --indent 2 --text "- Checking SSL certificate expiration" --result WARNING --color RED
|
||||
Display --indent 2 --text "- Checking for expired SSL certificates" --result FOUND --color RED
|
||||
ReportSuggestion ${TEST_NO} "Check available certificates for expiration"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue