Hello,

I'm trying  to generate reports with omp under openvas9. With openvas8,
the command below was working fine to generate a scan report in csv
format:

omp -h 127.0.0.1 -u admin -w pass -iX '<get_reports
report_id="'$reportId'" levels="hml" format_id="'$formatId'"
apply_overrides="1"/>' | xmlstarlet sel -t -v
get_reports_response/report/text\(\) | base64 -i -d > $reportName

Under openvas9, this no longer works. The output of xmlstarlet is now
empty. I don't have knowledge in XML, and I don't succeed to generate
reports with omp directly in base64 alhough I understood from the
documentation it seems possible. 

What's wrong with my command upon, or is there a better way to generate
reports with omp ?

Thank you !
Vincent
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to