Vincent, I had the exact same issue about a month ago. I never figured out why OMP stopped working. Long story short, the problem described below is limited to OMP. The exact same XML commands I was using, when migrated to GVM Tools, produced repetitive, dependable, and expected results in the form of proper reports being generated. I don't know why OMP refused to produce the reports (<get_reports report_id=x/>) but GVM Tools works like a charm. Also, I believe GVM Tools is going to replace OMP so migrating to GVM isn't bad anyway.
-- Trent Townsend CISSP, CCNA Next Step Innovation 601.708.4500 x1201 On Oct 6, 2017, at 5:08 AM, tatooin <[email protected]<mailto:[email protected]>> wrote: 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]<mailto:[email protected]> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author, and do not necessarily represent those of Next Step Innovation. If you are not the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. If you have received this email in error, please contact the sender.
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
