https://www.kali.org/tools/lynis/
Lynis is a security auditing and hardening tool for GNU/Linux and Unix systems. By scanning system configurations, it generates an overview of system information and security issues for use by professional auditors, and can also be used for automated auditing. Lynis can be used together with other security scanners, system benchmarking and tuning tools. The tool runs as a command-line tool and supports quiet mode and cronjob output format. Installation is via sudo apt install lynis, with an installation size of approximately 1.68 MB.