mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Update tests_ports_packages
This commit is contained in:
parent
423581c1f5
commit
95d6dbbcea
1 changed files with 6 additions and 1 deletions
|
|
@ -1341,7 +1341,12 @@ EOF
|
|||
#
|
||||
# Test : PKGS-7398
|
||||
# Description : Check package audit tool
|
||||
Register --test-no PKGS-7398 --weight L --network YES --category security --description "Check for package audit tool"
|
||||
if [ ! "${OS}" = "OpenBSD" ]; then
|
||||
PREQS_MET="YES"
|
||||
else
|
||||
PREQS_MET="NO"
|
||||
fi
|
||||
Register --test-no PKGS-7398 --preqs-met ${PREQS_MET} --weight L --network YES --category security --description "Check for package audit tool"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
LogText "Test: checking for package audit tool"
|
||||
if [ ${PACKAGE_AUDIT_TOOL_FOUND} -eq 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue