mirror of
https://github.com/ovh/debian-cis.git
synced 2025-08-31 11:54:07 +02:00

* refacto: systemd is-active / is-enabled Manage different object types (service, socket, timer...) in a generic way. * feat: add debian12 scripts ufw_is_installed.sh -> 4.1.1 iptables_persistent_is_not_installed.sh -> 4.1.2 ufw_is_enabled -> 4.1.3 nftables_not_installed_with_iptables.sh -> 4.3.1.2 libpam_runtime_is_version -> 5.3.1.1 --------- Co-authored-by: damien cavagnini <damien.cavagnini@corp.ovh.com>
12 lines
305 B
Bash
12 lines
305 B
Bash
# shellcheck shell=bash
|
|
# run-shellcheck
|
|
test_audit() {
|
|
|
|
# not much to test here, we are running in a container, we wont check service state
|
|
describe Checking blank host
|
|
register_test retvalshouldbe 1
|
|
# shellcheck disable=2154
|
|
run blank "${CIS_CHECKS_DIR}/${script}.sh" --audit-all
|
|
|
|
}
|