Can Lynis create a HTML report?

The number of output formats is kept to a minimum. Each format would introduce overhead and therefore impact the performance of the tool. By default, there is a screen output and a data report in a key-value format.

If you like to have an HTML file of the screen output, run 'lynis audit system | ansi2html -la > report.html'. The ansi2html tool can be installed with your package manager (e.g. yum install python-ansi2html or apt install kbtin).

For a more in-depth report in HTML and other formats, there is also the Lynis Enterprise version. This web-based solution provides browsable data and export to CSV, JSON, PDF, and makes the data available via API.

Need more details?
Ask a human! Support