cis-benchmarks-audit
cis-benchmarks-audit copied to clipboard
No module named 'tests'
[root@RED-HAT-8]# ./cis_audit.py --level 2
Traceback (most recent call last):
File "./cis_audit.py", line 39, in <module>
from tests.integration import (
ModuleNotFoundError: No module named 'tests'
Red Hat 8.8
Similar issue for Ubuntu 22.04
Comment out lines 39-41 and it should work. Worked for me on CentOS7