I deleted some old reports since there was about 30k info findings for every scan caused by a bad firewall config. That caused my custom application that queries report data from openvas scanner to break since it uses mongodb and the query responses were over the 16mb limit.
After deleting reports, all the scans now have the IP 127.0.0.X. Is there a way to fix this or do I have to blow up the db?
Under Assets -> Hosts the correct IP addresses are still there.
You can’t expect an answer within 24 hours. All people here are answering questions on a voluntary basis. Even all employees of Greenbone. Please be patient and if you need a reaction within 24 hours please think about professional and payed support!
Also found out that if I click on the IP address in the hosts section, it redirects me to the right and corresponding Address. When generating a report, it still shows the wrong IP address.
Found out that I had Anonymous_XML as my default report_format in /usr/local/var/lib/gvm/gvmd/report_formats. Changed to basic XML report format and everything is OK now.