mirror of https://github.com/CISOfy/lynis.git
Show different status on screen when expired SSL certificates were found
This commit is contained in:
parent
d4b1812962
commit
8cefc0f7b9
|
@ -64,9 +64,9 @@
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ ${FOUNDPROBLEM} -eq 0 ]; then
|
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
|
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"
|
ReportSuggestion ${TEST_NO} "Check available certificates for expiration"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue