[ bug ] Add Docker support: "Your distribution has been identified as which is not debian"
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Hello, could you add more verbose to this issue ?
Check launched, more context on the execution environment
i have the same problem :
user@SERVER:~ /debian-cis$ sudo bin/hardening.sh --audit-all Your distribution has been identified as which is not debian If you want to run it anyway, you can use the flag --allow-unsupported-distribution Exiting now user@SERVER:~ /debian-cis$ cat /etc/debian_version 12.11 user@SERVER:~ /debian-cis$ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" user@SERVER:~ /debian-cis$ sudo bin/hardening.sh --audit-all --allow-unsupported-distribution Your distribution has been identified as which is not debian find: ‘/home/user/bin/hardening/’: Aucun fichier ou dossier de ce type ################### SUMMARY ################### Total Available Checks : 0 Total Runned Checks : 0 Total Passed Checks : [ 0/0 ] Total Failed Checks : [ 0/0 ] bin/hardening.sh: ligne 386: div : commande introuvable bin/hardening.sh: ligne 387: div : commande introuvable Enabled Checks Percentage : % Conformity Percentage : N.A % user@SERVER:~ /debian-cis$
Hi @fragstein84 , is this issue still relevant ?
From what i can see, it looks like some paths are not well defined, thus the function getting the distribution is not loaded, and your host ends up with an undefined distribution. That's what we can also see with this message : ‘find: ‘/home/user/bin/hardening/’: Aucun fichier ou dossier de ce type’
Could you share the content of your /etc/default/cis-hardening, as well as the content of the paths defined there ?