sudo apt-get install lynis
sudo lynis audit system
You can check the details from the scan result
lynis show details ${test_id}
Logs will located at:
Report at: