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 --details |grep ^" " | awk -F" " '{ print $1 }' |xargs -n1
omp --delete-report

requires working omp.config ...

Eero

2015-04-14 20:51 GMT+03:00 Turner,Jonas <[email protected]>:

>  Just reports.  I want the tasks still.  The tasks generates about 168
> reports a week so trying to keep OpenVAS from being bogged down by all
> those reports. J
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Eero Volotinen
> *Sent:* Tuesday, April 14, 2015 1:51 PM
> *To:* Turner,Jonas
> *Cc:* [email protected]
> *Subject:* Re: [Openvas-discuss] Delete Reports
>
>
>
> Err. reports or tasks also?
>
>
>
> --
>
> Eero
>
>
>
> 2015-04-14 20:45 GMT+03:00 Turner,Jonas <[email protected]>:
>
> 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 script that now deletes the reports.
>
>
>
> Thanks!
>
>
>
> *Jonas Turner │ Security Analyst II*
>
> *Ph: 419.254.4890│Fax: 419.252.5557*
>
> *E-mail:  [email protected] <[email protected]>*
>
>
>
>
> CONFIDENTIALITY NOTICE The information contained in this transmission is
> intended only for the person or entity to which it is addressed and may
> contain confidential and/or privileged material. If you are not the
> intended recipient of this information, do not review, retransmit,
> disclose, disseminate, use, or take any action in reliance upon, this
> information. If you received this transmission in error, please contact the
> sender, destroy all printed copies, and delete the material from all
> computers.   ­­
>
>
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
>
>
> CONFIDENTIALITY NOTICE The information contained in this transmission is
> intended only for the person or entity to which it is addressed and may
> contain confidential and/or privileged material. If you are not the
> intended recipient of this information, do not review, retransmit,
> disclose, disseminate, use, or take any action in reliance upon, this
> information. If you received this transmission in error, please contact the
> sender, destroy all printed copies, and delete the material from all
> computers.   ­­
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to