mirror of https://github.com/CISOfy/lynis.git
Merge branch 'master' of https://github.com/CISOfy/lynis
This commit is contained in:
commit
de65787b3a
|
@ -46,6 +46,13 @@
|
|||
OS_VERSION_NAME="unknown"
|
||||
OS_FULLNAME="macOS (unknown version)"
|
||||
case ${OS_VERSION} in
|
||||
10.0 | 10.0.[0-9]*) OS_FULLNAME="Mac OS X 10.0 (Cheetah)" ;;
|
||||
10.1 | 10.1.[0-9]*) OS_FULLNAME="Mac OS X 10.1 (Puma)" ;;
|
||||
10.2 | 10.2.[0-9]*) OS_FULLNAME="Mac OS X 10.2 (Jaguar)" ;;
|
||||
10.3 | 10.3.[0-9]*) OS_FULLNAME="Mac OS X 10.3 (Panther)" ;;
|
||||
10.4 | 10.4.[0-9]*) OS_FULLNAME="Mac OS X 10.4 (Tiger)" ;;
|
||||
10.5 | 10.5.[0-9]*) OS_FULLNAME="Mac OS X 10.5 (Leopard)" ;;
|
||||
10.6 | 10.6.[0-9]*) OS_FULLNAME="Mac OS X 10.6 (Snow Leopard)" ;;
|
||||
10.7 | 10.7.[0-9]*) OS_FULLNAME="Mac OS X 10.7 (Lion)" ;;
|
||||
10.8 | 10.8.[0-9]*) OS_FULLNAME="Mac OS X 10.8 (Mountain Lion)" ;;
|
||||
10.9 | 10.9.[0-9]*) OS_FULLNAME="Mac OS X 10.9 (Mavericks)" ;;
|
||||
|
|
|
@ -693,7 +693,7 @@
|
|||
if [ -x ${ROOTDIR}usr/sbin/pkg_admin ]; then
|
||||
PACKAGE_AUDIT_TOOL_FOUND=1
|
||||
PACKAGE_AUDIT_TOOL="pkg_admin audit"
|
||||
if [ -f ${ROOTDIR}var/db/pkg/pkgs-vulnerabilities ]; then
|
||||
if [ -f ${ROOTDIR}var/db/pkg/pkg-vulnerabilities ]; then
|
||||
FIND=$(${ROOTDIR}usr/sbin/pkg_admin audit)
|
||||
if [ -z "${FIND}" ]; then
|
||||
LogText "Result: pkg_admin audit results are clean"
|
||||
|
|
Loading…
Reference in New Issue