https://github.com/markuman/lynis-bridge
https://github.com/markuman/lynis-bridge
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/markuman/lynis-bridge
- Owner: markuman
- License: gpl-3.0
- Created: 2020-10-22T18:34:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-30T18:36:11.000Z (over 5 years ago)
- Last Synced: 2025-12-27T14:11:02.538Z (6 months ago)
- Language: Perl
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lynis-bridge
Accept lynis-report.dat files (upload), transform it into json and put it into a mariadb to visualize the result with grafana.

## notes
When using lynis-cron, you can post the result to your lynis-bridge with curl (_yes, the user-agent must be set to `lynis-bridge`, otherwise the lynis-bridge will response http code 403_).
```
curl -A "lynis-bridge" -F data=@lynis-report.dat http://:8080/upload
```
# database
Currently only Mariadb >= 10.3 is supported.
The table `reports` is using `WITH SYSTEM VERSIONING`. So you got a report history about you hosts.
You just need to query them ;)
# credits.
`lynis-report-converter.pl` is taken from https://github.com/d4t4king/lynis-report-converter
# SCM
| **host** | **category** |
| --- | --- |
| https://git.osuv.de/m/lynis-bridge | origin |
| https://gitlab.com/markuman/lynis-bridge | pull mirror |
| https://github.com/markuman/lynis-bridge | push mirror |