mirror of
https://github.com/ovh/debian-cis.git
synced 2025-09-09 07:50:54 +02:00
feat: add trixie docker build
Ensure the current debian12 scripts are going to run on trixie
This commit is contained in:
@@ -7,7 +7,7 @@ test_audit() {
|
||||
|
||||
tests_is_ipv6_enabled
|
||||
tests_get_debian_major_version
|
||||
if [ "$CURRENT_IPV6_ENABLED" -eq 0 ] && [ "$DEB_MAJ_VER" -gt 11 ]; then
|
||||
if [ "$CURRENT_IPV6_ENABLED" -eq 0 ] && [ "$DEB_MAJ_VER" -eq 12 ]; then
|
||||
|
||||
# not much to test here, unless working on a privileged container
|
||||
describe Running on blank host
|
||||
@@ -15,7 +15,7 @@ test_audit() {
|
||||
# shellcheck disable=2154
|
||||
run blank "${CIS_CHECKS_DIR}/${script}.sh" --audit-all
|
||||
|
||||
elif [ "$CURRENT_IPV6_ENABLED" -ne 0 ] && [ "$DEB_MAJ_VER" -gt 11 ]; then
|
||||
elif [ "$CURRENT_IPV6_ENABLED" -ne 0 ] && [ "$DEB_MAJ_VER" -eq 12 ]; then
|
||||
|
||||
# not much to test here, unless working on a privileged container
|
||||
describe Running on blank host
|
||||
|
Reference in New Issue
Block a user