Created
October 11, 2019 12:14
-
-
Save jeanlouisferey/8d2f74358368743fe24c8f67e2695ba5 to your computer and use it in GitHub Desktop.
Change lynis report to Markdown
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
WIP: | |
yes | lynis audit system --no-colors | sed 's/\x1b\[[0-9;]*[a-zA-Z]//g' | sed 's/\[+\]/##/g' > /tmp/test-lynis8.md 2>&1 | |
TODO: | |
- create a TOC | |
- add some emphasis | |
- make first level title |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also https://www.enclavesecurity.com/parsing-lynis-audit-reports-2/