diff --git a/tests/hardening/2.2.1.1_use_time_sync.sh b/tests/hardening/2.2.1.1_use_time_sync.sh index e64e063..6c32584 100644 --- a/tests/hardening/2.2.1.1_use_time_sync.sh +++ b/tests/hardening/2.2.1.1_use_time_sync.sh @@ -1,16 +1,15 @@ # shellcheck shell=bash # run-shellcheck test_audit() { - # Make all variable local to the function by using `local` - describe Running on blank host register_test retvalshouldbe 1 dismiss_count_for_test + # shellcheck disable=2154 run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all describe Correcting situation - apt update - apt install -y ntp + apt-get update + apt-get install -y ntp # Finally assess that your corrective actions end up with a compliant system describe Checking resolved state diff --git a/tests/hardening/5.3.1_enable_pwquality.sh b/tests/hardening/5.3.1_enable_pwquality.sh index c230ad8..e07785a 100644 --- a/tests/hardening/5.3.1_enable_pwquality.sh +++ b/tests/hardening/5.3.1_enable_pwquality.sh @@ -2,7 +2,7 @@ # run-shellcheck test_audit() { - apt update + apt-get update apt-get install -y libpam-pwquality describe Running on blank host