mirror of https://github.com/CISOfy/lynis.git
Changes for new plugin class 'hardware'
This commit is contained in:
parent
21b129f947
commit
4042c45954
|
@ -126,6 +126,7 @@ plugin=file-integrity
|
||||||
plugin=file-systems
|
plugin=file-systems
|
||||||
plugin=firewalls
|
plugin=firewalls
|
||||||
plugin=forensics
|
plugin=forensics
|
||||||
|
plugin=hardware
|
||||||
plugin=intrusion-detection
|
plugin=intrusion-detection
|
||||||
plugin=intrusion-prevention
|
plugin=intrusion-prevention
|
||||||
plugin=kernel
|
plugin=kernel
|
||||||
|
|
|
@ -121,6 +121,7 @@
|
||||||
debsecan) DEBSECANBINARY="${BINARY}"; LogText " Found known binary: debsecan (package vulnerability checking) - ${BINARY}" ;;
|
debsecan) DEBSECANBINARY="${BINARY}"; LogText " Found known binary: debsecan (package vulnerability checking) - ${BINARY}" ;;
|
||||||
debsums) DEBSUMSBINARY="${BINARY}"; LogText " Found known binary: debsums (package integrity checking) - ${BINARY}" ;;
|
debsums) DEBSUMSBINARY="${BINARY}"; LogText " Found known binary: debsums (package integrity checking) - ${BINARY}" ;;
|
||||||
dig) if [ -f ${BINARY} ]; then DIGFOUND=1; DIGBINARY=${BINARY}; LogText " Found known binary: dig (network/dns tool) - ${BINARY}"; fi ;;
|
dig) if [ -f ${BINARY} ]; then DIGFOUND=1; DIGBINARY=${BINARY}; LogText " Found known binary: dig (network/dns tool) - ${BINARY}"; fi ;;
|
||||||
|
dmidecode) DMIDECODEBINARY=${BINARY}; LogText " Found known binary: dmidecode (hardware collector tool) - ${BINARY}"; ;;
|
||||||
dnf) DNFBINARY="${BINARY}"; LogText " Found known binary: dnf (package manager) - ${BINARY}"; ;;
|
dnf) DNFBINARY="${BINARY}"; LogText " Found known binary: dnf (package manager) - ${BINARY}"; ;;
|
||||||
dnsdomainname) DNSDOMAINNAMEFOUND=1; DNSDOMAINNAMEBINARY="${BINARY}"; LogText " Found known binary: dnsdomainname (DNS domain) - ${BINARY}" ;;
|
dnsdomainname) DNSDOMAINNAMEFOUND=1; DNSDOMAINNAMEBINARY="${BINARY}"; LogText " Found known binary: dnsdomainname (DNS domain) - ${BINARY}" ;;
|
||||||
docker) if [ -f ${BINARY} ]; then DOCKERBINARY="${BINARY}"; LogText " Found known binary: docker (container technology) - ${BINARY}"; fi ;;
|
docker) if [ -f ${BINARY} ]; then DOCKERBINARY="${BINARY}"; LogText " Found known binary: docker (container technology) - ${BINARY}"; fi ;;
|
||||||
|
|
|
@ -94,6 +94,7 @@ unset LANG
|
||||||
DEBSUMSBINARY=""
|
DEBSUMSBINARY=""
|
||||||
DEVELOPER_MODE=0
|
DEVELOPER_MODE=0
|
||||||
DISCOVERED_BINARIES=""
|
DISCOVERED_BINARIES=""
|
||||||
|
DMIDECODEBINARY=""
|
||||||
DNFBINARY=""
|
DNFBINARY=""
|
||||||
DOCKERBINARY=""
|
DOCKERBINARY=""
|
||||||
DOCKER_DAEMON_RUNNING=0
|
DOCKER_DAEMON_RUNNING=0
|
||||||
|
|
Loading…
Reference in New Issue