diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2017-12-08 11:37:55 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2017-12-08 11:37:55 +0300 |
commit | 4042c45954ca8f90c7a8fd2bd71e182c2e9b8c96 (patch) | |
tree | f778dc8c58b98062d9188dd28313e7f695e36aea | |
parent | 21b129f947ebbebbf14760cde9917b0daac3fd05 (diff) |
Changes for new plugin class 'hardware'
-rw-r--r-- | default.prf | 1 | ||||
-rw-r--r-- | include/binaries | 1 | ||||
-rw-r--r-- | include/consts | 1 |
3 files changed, 3 insertions, 0 deletions
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 |