Created
May 6, 2019 12:13
-
-
Save tomaszklim/f568f7be71cba2514344a13944ac753f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone https://github.com/CISOfy/lynis /opt/lynis | |
cd /opt/lynis && /opt/lynis/lynis audit system --cronjob --quiet |grep -v custom.prf | |
grep warning /var/log/lynis-report.dat |egrep -v "(CONT-8104|KRNL-5830|NETW-2705)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment