Export scan results to syslog

Is it possible to export scan results to syslog?
I want to write down scan results as log files. Which I can afterwards push to my log server using other application.

It seems system.logger alert is capable of solving this:
https://docs.greenbone.net/GSM-Manual/gos-20.08/en/scanning.html#using-alerts

But in the instructions for configuring logging server are only provided for GOS:
https://docs.greenbone.net/GSM-Manual/gos-20.08/en/managing-gos.html#central-logging

How to configure System.Logger alert in the installation from source code?

Thanks!

GVM versions

gsad: Greenbone Security Assistant 20.08.0~git-18568a46d-HEAD
gvmd: Greenbone Vulnerability Manager 20.08.0~git-ac4498c2-HEAD
openvas-scanner: OpenVAS 20.8.0
gvm-libs: 20.8.0

Environment

Operating system: Ubuntu
Kernel: Linux openvas 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Installation method / source: official source repositories

Hi!

Maybe you could automate a script using python-gvm and/or gvm-tools to automate downloading scan results instead?

1 Like

Hi!
Thank you for your answer.
Thought about that as well, it is possible to export them as CSV for example.

But was curious if it is possible to export results as syslog events.

No you cannot export them as CSV, but I guess you can easily convert the gathered results xml tags to a csv formatted file/create one out of it …

1 Like