mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
Add missing tests CUPS, telnet and LDAP
new file: bin/hardening/2.2.4_disable_print_server.sh new file: bin/hardening/2.3.4_telnet_client_not_installed.sh new file: bin/hardening/2.3.5_ldap_client_not_installed.sh new file: tests/hardening/2.2.4_disable_print_server.sh new file: tests/hardening/2.3.4_telnet_client_not_installed.sh new file: tests/hardening/2.3.5_ldap_client_not_installed.sh
This commit is contained in:

committed by
Thibault Ayanides

parent
2b60594a06
commit
d91fdbf84b
10
tests/hardening/2.2.4_disable_print_server.sh
Normal file
10
tests/hardening/2.2.4_disable_print_server.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
|
||||
}
|
10
tests/hardening/2.3.4_telnet_client_not_installed.sh
Normal file
10
tests/hardening/2.3.4_telnet_client_not_installed.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
|
||||
}
|
10
tests/hardening/2.3.5_ldap_client_not_installed.sh
Normal file
10
tests/hardening/2.3.5_ldap_client_not_installed.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