diff --git a/tests/hardening/99.1_timeout_tty.sh b/tests/hardening/99.1_timeout_tty.sh index 0b57e6a..da5c079 100644 --- a/tests/hardening/99.1_timeout_tty.sh +++ b/tests/hardening/99.1_timeout_tty.sh @@ -13,4 +13,7 @@ test_audit() { run compliant /opt/debian-cis/bin/hardening/"${script}".sh --audit-all # TODO fill comprehensive tests + + # Cleanup + rm /etc/profile.d/CIS_99.1_timeout.sh } diff --git a/tests/hardening/99.2_disable_usb_devices.sh b/tests/hardening/99.2_disable_usb_devices.sh index 5226d33..9dcf3ce 100644 --- a/tests/hardening/99.2_disable_usb_devices.sh +++ b/tests/hardening/99.2_disable_usb_devices.sh @@ -17,4 +17,7 @@ test_audit() { run compliant /opt/debian-cis/bin/hardening/"${script}".sh --audit-all # TODO fill comprehensive tests + + # Cleanup + rm /etc/udev/rules.d/10-CIS_99.2_usb_devices.sh }