To: Turner,Jonas
Cc: openvas-discuss@wald.intevation.org
Subject: Re: [Openvas-discuss] Delete Reports
Err. reports or tasks also?
--
Eero
2015-04-14 20:45 GMT+03:00 Turner,Jonas
jotur...@hcr-manorcare.commailto:jotur...@hcr-manorcare.com:
Does anyone have a script that can delete all the reports
Err. reports or tasks also?
--
Eero
2015-04-14 20:45 GMT+03:00 Turner,Jonas jotur...@hcr-manorcare.com:
Does anyone have a script that can delete all the reports that were
generated by scans?
Eero was SO kind to provide me a script to download the reports, but it
would be nice to have a
Volotinen
*Sent:* Tuesday, April 14, 2015 1:51 PM
*To:* Turner,Jonas
*Cc:* openvas-discuss@wald.intevation.org
*Subject:* Re: [Openvas-discuss] Delete Reports
Err. reports or tasks also?
--
Eero
2015-04-14 20:45 GMT+03:00 Turner,Jonas jotur...@hcr-manorcare.com:
Does anyone have
You could easily modify that script to delete them:
http://www.openvas.org/omp-5-0.html#command_delete_report
On Tue, Apr 14, 2015 at 12:45 PM, Turner,Jonas jotur...@hcr-manorcare.com
wrote:
Does anyone have a script that can delete all the reports that were
generated by scans?
Eero was
, April 14, 2015 1:51 PM
*To:* Turner,Jonas
*Cc:* openvas-discuss@wald.intevation.org
*Subject:* Re: [Openvas-discuss] Delete Reports
Err. reports or tasks also?
--
Eero
2015-04-14 20:45 GMT+03:00 Turner,Jonas jotur...@hcr-manorcare.com:
Does anyone have a script that can delete all
14, 2015 1:58 PM
*To:* Turner,Jonas
*Cc:* openvas-discuss@wald.intevation.org
*Subject:* Re: [Openvas-discuss] Delete Reports
Well.
you need to apply this patch: http://ping-viini.org/omp.c-details.patch to
openvas-cli and recompile.
then just run this onliner:
omp --get-tasks
@wald.intevation.org
Subject: Re: [Openvas-discuss] Delete Reports
Well, then this might work. test it. no warranty.
omp --get-tasks | awk '{ print $1 }' |xargs -n1 omp --get-tasks |grep ^ |
awk -F '{ print $1 }' | xargs -n1 omp --delete-report
requires also working omp.config
Eero
2015-04-14
Eero!
*From:* eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] *On
Behalf Of *Eero Volotinen
*Sent:* Tuesday, April 14, 2015 2:54 PM
*To:* Turner,Jonas; openvas-discuss@wald.intevation.org
*Subject:* Re: [Openvas-discuss] Delete Reports
Well, then this might work. test