ADD(4.1.1.4): add new check

This commit is contained in:
Thibault Ayanides
2021-01-04 09:03:44 +01:00
parent b6fff5b8b6
commit a5e1cb90cd
2 changed files with 58 additions and 8 deletions

View File

@ -1,11 +1,15 @@
# shellcheck shell=bash
# run-shellcheck
test_audit() {
describe Running on blank host
register_test retvalshouldbe 0
dismiss_count_for_test
# shellcheck disable=2154
run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
if [ -f "/.dockerenv" ]; then
skip "SKIPPED on docker"
else
describe Running on blank host
register_test retvalshouldbe 0
dismiss_count_for_test
# shellcheck disable=2154
run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
# TODO fill comprehensive tests
# TODO fill comprehensive tests
fi
}