-
Is there a way to get the nice formatted results as shown at the end of a run, from a previous run? The log file and the report file seem to be machine rather than human readable. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, Lynis is intended to show readable output on the screen, debug information in the log, and machine-parsable information in the report file. Now the definition of "nice" and "formatted" differs between people. So let's assume something that you can quickly see the differences between the scan of yesterday of today. What you can do is create a diff between two Lynis scans: See the link on how to create this into a script if you want to automate things. Does this help? |
Beta Was this translation helpful? Give feedback.
Yes, Lynis is intended to show readable output on the screen, debug information in the log, and machine-parsable information in the report file.
Now the definition of "nice" and "formatted" differs between people. So let's assume something that you can quickly see the differences between the scan of yesterday of today. What you can do is create a diff between two Lynis scans:
diff -y /var/log/lynis-report-previous.dat /var/log/lynis-report.dat | grep -v "report_datetime"
See the link on how to create this into a script if you want to automate things.
Does this help?