...
https://cisofy.com/documentation/lynis/get-started/
Install and Execute
If you are using CentOS:
$ yum install lynis
Run
; lynis audit system
If you are using Ubuntu:
$ git clone https://github.com/CISOfy/lynis
$ cd lynis; ./lynis audit system
Report
After running, detailed test logs are stored in /var/log/lynis.log, information for each test includes:
...