chore: drop debian 10 and below support

Currently, the only LTS Debian are 11 and 12
We only support CIS for LTS debian
This commit is contained in:
Damien Cavagnini
2025-07-03 13:14:10 +02:00
parent f2c6f36b94
commit 5ee187c7ca
18 changed files with 32 additions and 156 deletions

View File

@ -30,11 +30,7 @@ audit() {
crit "Cannot get Debian version. Aborting..."
return
fi
if [[ "${DEB_MAJ_VER}" != "sid" ]] && [[ "${DEB_MAJ_VER}" -lt "8" ]]; then
set -u
warn "Debian version too old (${DEB_MAJ_VER}), check does not apply, you should disable this check."
return
fi
set -u
is_pkg_installed "$PACKAGE"
if [ "$FNRET" != 0 ]; then