Hi,
Maybe you can take look of my solution @
http://ping-viini.org/get-reports-latest.zip
It exports latest reports from scanner to file and then zips and sends via
email.
requires: php-cli, zip, working sendmail binary, working omp-cli
usage like php et-reports-latest.php your@email
it also
Am Montag, 23. März 2015, 12:09:01 schrieb Selam Uzun:
I'm trying to get around this problem by trying to do something else : is
it possible to send an alert with 2 reports format in one email ?
Like, one TXT included report and one attached PDF report.
(It's seems not but I'd like to have
Hi,
How about running script using omp (cli) and then attaching files to email.
works for me.
--
Eero
2015-03-23 13:09 GMT+02:00 Selam Uzun selam.u...@gmail.com:
Hello,
I'm trying to get around this problem by trying to do something else : is
it possible to send an alert with 2 reports
Hello,
I'm trying to get around this problem by trying to do something else : is
it possible to send an alert with 2 reports format in one email ?
Like, one TXT included report and one attached PDF report.
(It's seems not but I'd like to have confirmation).
Best regards,
S. Uzun
On 20 March
Hallo,
It's me again, sorry ^^ (thanks again for the previous answers).
I have a weird result that I can't explain but I think it's a base64
encoding/decoding problem. I'd like to have your opinion.
My aim is simple : I want to get all reports in CSV and in one file.
I have this :
-
#!/bin/sh
# Description: import of all reports generated by OpenVAS
IMPORT_FILE=openvas_reports.csv
# csv format id
REPORT_FORMAT_ID=9087b18c-626c-11e3-8892-406186ea4fc5
# Get reports
omp -u admin -w admin -X '
get_reports format_id='$REPORT_FORMAT_ID'/
Try
Thanks for your suggestions Matthew.
I changed the egrep with xmlstarlet and added the filter. Unfortunately,
nothing changed.
It's really strange, I tried some other combinations : when I have 2 high
severity reports, the 2 reports gives me wrong informations:
IP,Hostname,