Well, it worked on my test setup (2 reports) both under different tasks. So, I think that it works. :)
-- Eero 2015-04-14 22:28 GMT+03:00 Turner,Jonas <[email protected]>: > Well…it deleted the one task I had done. J I will test it again tomorrow > when I get a lot more. Thanks again Eero! > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Eero Volotinen > *Sent:* Tuesday, April 14, 2015 2:54 PM > *To:* Turner,Jonas; [email protected] > > *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 21:47 GMT+03:00 Turner,Jonas <[email protected]>: > > Sending this directly to you. > > > > I didn’t compile this from the source. I used the RPM’s from Atomic. > Would that make a difference from having to push this patch out? > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Eero Volotinen > *Sent:* Tuesday, April 14, 2015 1:58 PM > > > *To:* Turner,Jonas > *Cc:* [email protected] > *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 --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. > > > > > 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. > > > > 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
