From 4042c45954ca8f90c7a8fd2bd71e182c2e9b8c96 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 8 Dec 2017 09:37:55 +0100 Subject: Changes for new plugin class 'hardware' --- default.prf | 1 + include/binaries | 1 + include/consts | 1 + 3 files changed, 3 insertions(+) diff --git a/default.prf b/default.prf index 7ffb0679..5ebe68cb 100644 --- a/default.prf +++ b/default.prf @@ -126,6 +126,7 @@ plugin=file-integrity plugin=file-systems plugin=firewalls plugin=forensics +plugin=hardware plugin=intrusion-detection plugin=intrusion-prevention plugin=kernel diff --git a/include/binaries b/include/binaries index 1cd7e3d1..b8e5eca7 100644 --- a/include/binaries +++ b/include/binaries @@ -121,6 +121,7 @@ debsecan) DEBSECANBINARY="${BINARY}"; LogText " Found known binary: debsecan (package vulnerability 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 ;; + dmidecode) DMIDECODEBINARY=${BINARY}; LogText " Found known binary: dmidecode (hardware collector tool) - ${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}" ;; docker) if [ -f ${BINARY} ]; then DOCKERBINARY="${BINARY}"; LogText " Found known binary: docker (container technology) - ${BINARY}"; fi ;; diff --git a/include/consts b/include/consts index 19ef079b..c9dcfc8e 100644 --- a/include/consts +++ b/include/consts @@ -94,6 +94,7 @@ unset LANG DEBSUMSBINARY="" DEVELOPER_MODE=0 DISCOVERED_BINARIES="" + DMIDECODEBINARY="" DNFBINARY="" DOCKERBINARY="" DOCKER_DAEMON_RUNNING=0 -- cgit v1.2.3