mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
FIX(2.3.18): Re-add telnet server check
Renaming for 2.3.4 anbd 2.3.5 to have naming consistency. nouveau fichier : bin/hardening/2.2.18_disable_telnet_server.sh renommé : bin/hardening/2.3.4_telnet_client_not_installed.sh -> bin/hardening/2.3.4_disable_telnet_client.sh renommé : bin/hardening/2.3.5_ldap_client_not_installed.sh -> bin/hardening/2.3.5_disable_ldap_client.sh renommé : tests/hardening/2.3.4_telnet_client_not_installed.sh -> tests/hardening/2.2.18_disable_telnet_server.sh renommé : tests/hardening/2.3.5_ldap_client_not_installed.sh -> tests/hardening/2.3.4_disable_telnet_client.sh nouveau fichier : tests/hardening/2.3.5_disable_ldap_client.sh
This commit is contained in:
0
tests/hardening/2.3.4_telnet_client_not_installed.sh → tests/hardening/2.2.18_disable_telnet_server.sh
Normal file → Executable file
0
tests/hardening/2.3.4_telnet_client_not_installed.sh → tests/hardening/2.2.18_disable_telnet_server.sh
Normal file → Executable file
10
tests/hardening/2.3.5_disable_ldap_client.sh
Normal file
10
tests/hardening/2.3.5_disable_ldap_client.sh
Normal file
@ -0,0 +1,10 @@
|
||||
# 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
|
||||
}
|
Reference in New Issue
Block a user