Sounds like a horrible solution to me even if it works.
Thijs Stuurman Security Operations Center | KPN Internedservices B.V. thijs.stuur...@internedservices.nl<mailto:thijs.stuur...@internedservices.nl> | thijs.stuur...@kpn.com<mailto:thijs.stuur...@kpn.com> T: +31(0)299476185 | M: +31(0)624366778 PGP Key-ID: 0x16ADC048 (https://pgp.surfnet.nl/) Fingerprint: 2EDB 9B42 D6E8 7D4B 6E02 8BE5 6D46 8007 16AD C048 W: https://www.internedservices.nl<https://www.internedservices.nl/> | L: https://nl.linkedin.com/in/thijsstuurman Van: tatooin <tato...@free.fr> Verzonden: woensdag 25 april 2018 13:55 Aan: Roger Davies <rog.dav...@gmail.com> CC: Thijs Stuurman <thijs.stuur...@internedservices.nl>; openvas-discuss@wald.intevation.org Onderwerp: Re: [Openvas-discuss] Tasks Autostart plugin for openvas ? Hi Roger, I don't get it. Adding an alert to the first task will only log when the task is done, it won't start the next task automatically. Or am I missing something here ? Thanks On Wed, 2018-04-25 at 11:30 +0100, Roger Davies wrote: Hi You can daisy-chain one task after another using the alerts bit. So, setup an alert which uses the 'Start Task' method on "Task run status changed (to Done)", then add that alert to the first task. Roger On 18 April 2018 at 08:27, tatooin <tato...@free.fr<mailto:tato...@free.fr>> wrote: Thanks Thijs, I will have a look at your script. Best, On Tue, 2018-04-17 at 12:14 +0000, Thijs Stuurman wrote: I use gvm-tools and a python script to schedule my jobs, perhaps this can serve as inspriration for your own solution: https://github.com/Thijssss/openvas_scheduler Thijs Stuurman Security Operations Center | KPN Internedservices B.V. thijs.stuur...@internedservices.nl<mailto:thijs.stuur...@internedservices.nl> | thijs.stuur...@kpn.com<mailto:thijs.stuur...@kpn.com> T: +31(0)299476185 | M: +31(0)624366778 PGP Key-ID: 0x16ADC048 (https://pgp.surfnet.nl/) Fingerprint: 2EDB 9B42 D6E8 7D4B 6E02 8BE5 6D46 8007 16AD C048 W: https://www.internedservices.nl<https://www.internedservices.nl/> | L: https://nl.linkedin.com/in/thijsstuurman Van: Openvas-discuss <openvas-discuss-boun...@wald.intevation.org<mailto:openvas-discuss-boun...@wald.intevation.org>> Namens tatooin Verzonden: dinsdag 17 april 2018 09:09 Aan: openvas-discuss@wald.intevation.org<mailto:openvas-discuss@wald.intevation.org> Onderwerp: [Openvas-discuss] Tasks Autostart plugin for openvas ? Hi, I was wondering if there was a plugin to automatically start tasks in order. I have ordered my tasks by groups, and on a regular basis I'm running all tasks on a given group. But this remain a manual step, as I have to login to the console and start tasks one after the other (or not more than 2 or 3 tasks simultaneously to avoid overwhelming the Openvas manager) so I was wondering if there was any plugins or something close to it to allow automatic starts of tasks once the first in list is finished ? The scheduling feature cannot do this unfortunately. Thanks ! _______________________________________________ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org<mailto:Openvas-discuss@wald.intevation.org> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
_______________________________________________ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss