mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 13:37:02 +01:00
a085785321
new file: bin/hardening/1.7.1.1_remove_os_info_motd.sh renamed: bin/hardening/11.2_remove_os_info_warning_banners.sh -> bin/hardening/1.7.1.2_remove_os_info_issue.sh new file: bin/hardening/1.7.1.3_remove_os_info_issue_net.sh new file: bin/hardening/1.7.1.4_motd_perms.sh new file: bin/hardening/1.7.1.5_etc_issue_perms.sh new file: bin/hardening/1.7.1.6_etc_issue_net_perms.sh renamed: bin/hardening/11.3_graphical_warning_banners.sh -> bin/hardening/1.7.2_graphical_warning_banners.sh deleted: bin/hardening/11.1_warning_banners.sh renamed: tests/hardening/11.3_graphical_warning_banners.sh -> tests/hardening/1.7.1.1_remove_os_info_motd.sh renamed: tests/hardening/11.2_remove_os_info_warning_banners.sh -> tests/hardening/1.7.1.2_remove_os_info_issue.sh renamed: tests/hardening/11.1_warning_banners.sh -> tests/hardening/1.7.1.3_remove_os_info_issue_net.sh new file: tests/hardening/1.7.1.4_warning_banners.sh new file: tests/hardening/1.7.2_graphical_warning_banners.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
|
|
}
|