mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-24 22:41:24 +01:00
fbdf3b72ed
new file: bin/hardening/2.1.1_disable_xinetd.sh renamed: bin/hardening/5.1.8_disable_inetd.sh -> bin/hardening/2.1.2_disable_bsd_inetd.sh renamed: bin/hardening/5.1.1_disable_nis.sh -> bin/hardening/2.3.1_disable_nis.sh renamed: bin/hardening/5.1.3_disable_rsh_client.sh -> bin/hardening/2.3.2_disable_rsh_client.sh renamed: bin/hardening/5.1.5_disable_talk_client.sh -> bin/hardening/2.3.3_disable_talk_client.sh deleted: bin/hardening/5.1.2_disable_rsh.sh deleted: bin/hardening/5.1.4_disable_talk.sh deleted: bin/hardening/5.1.6_disable_telnet_server.sh deleted: bin/hardening/5.1.7_disable_tftp_server.sh deleted: bin/hardening/5.2_disable_chargen.sh deleted: bin/hardening/5.3_disable_daytime.sh deleted: bin/hardening/5.4_disable_echo.sh deleted: bin/hardening/5.5_disable_discard.sh deleted: bin/hardening/5.6_disable_time.sh renamed: tests/hardening/5.6_disable_time.sh -> tests/hardening/2.1.1_disable_xinetd.sh renamed: tests/hardening/5.5_disable_discard.sh -> tests/hardening/2.3.1_disable_nis.sh renamed: tests/hardening/5.4_disable_echo.sh -> tests/hardening/2.3.2_disable_rsh_client.sh renamed: tests/hardening/5.3_disable_daytime.sh -> tests/hardening/2.3.3_disable_talk_client.sh deleted: tests/hardening/5.1.1_disable_nis.sh deleted: tests/hardening/5.1.2_disable_rsh.sh deleted: tests/hardening/5.1.3_disable_rsh_client.sh deleted: tests/hardening/5.1.4_disable_talk.sh deleted: tests/hardening/5.1.5_disable_talk_client.sh deleted: tests/hardening/5.1.6_disable_telnet_server.sh deleted: tests/hardening/5.1.7_disable_tftp_server.sh deleted: tests/hardening/5.1.8_disable_inetd.sh deleted: tests/hardening/5.2_disable_chargen.sh
11 lines
269 B
Bash
11 lines
269 B
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
|
|
|
|
# TODO fill comprehensive tests
|
|
}
|