mirror of https://github.com/CISOfy/lynis.git
Display skipped atomic tests (#169)
Added section to log & display skipped atomic tests.
This commit is contained in:
parent
11c4779dd7
commit
a6393bd8a0
|
@ -225,6 +225,9 @@
|
||||||
LogText "Result: Option ${OPTIONNAME} not found in output"
|
LogText "Result: Option ${OPTIONNAME} not found in output"
|
||||||
Display --indent 4 --text "- SSH option: ${OPTIONNAME}" --result "NOT FOUND" --color WHITE
|
Display --indent 4 --text "- SSH option: ${OPTIONNAME}" --result "NOT FOUND" --color WHITE
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
LogText "Skipping atomic test ${OPTIONNAME}"
|
||||||
|
Display --indent 4 --text "- SSH optoin: ${OPTIONNAME}" --result SKIPPED --color WHITE
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue