diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2020-03-27 14:00:09 +0300 |
---|---|---|
committer | Topi Miettinen <toiwoton@gmail.com> | 2020-03-27 14:05:56 +0300 |
commit | 5c5cc43c6f7effe83adc8eeb65e7202e5ce10a73 (patch) | |
tree | 8f14b40bb34c65d3c48a67b542473249506d94fb /include/binaries | |
parent | 603d5b16a282b6c2f646bae450002e385bd91b3f (diff) |
Check if system uses encrypted swap devices
Add test CRYP-7931 to check if the system uses any encrypted swap
devices.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'include/binaries')
-rw-r--r-- | include/binaries | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/binaries b/include/binaries index 16096fe4..08b9b4d4 100644 --- a/include/binaries +++ b/include/binaries @@ -271,6 +271,7 @@ sha256|sha256sum) SHA256SUMBINARY="${BINARY}"; LogText " Found known binary: sha256/sha256sum (crypto hashing) - ${BINARY}" ;; ssh-keyscan) SSHKEYSCANBINARY="${BINARY}"; LogText " Found known binary: ssh-keyscan (scanner for SSH keys) - ${BINARY}" ;; suricata) SURICATABINARY="${BINARY}"; LogText " Found known binary: suricata (IDS) - ${BINARY}" ;; + swapon) SWAPONBINARY="${BINARY}"; LogText " Found known binary: swapon (swap device tool) - ${BINARY}" ;; swupd) SWUPDBINARY="${BINARY}"; LogText " Found known binary: swupd (package manager) - ${BINARY}" ;; sysctl) SYSCTLBINARY="${BINARY}"; LogText " Found known binary: sysctl (kernel parameters) - ${BINARY}" ;; syslog-ng) SYSLOGNGBINARY="${BINARY}"; SYSLOGNGVERSION=$(${BINARY} -V 2>&1 | grep "^syslog-ng" | awk '{ print $2 }'); LogText "Found ${BINARY} (version ${SYSLOGNGVERSION})" ;; |