Hello!
I've been trying to put together an automated testing environment with faraday at the center of it all, and I was curious if there was any way (currently or planned in the future) to hook callbacks from events such as "new host created", "new service created", "new vulnerability created".
So, as a simplified example, whenever a new host is created either by a plugin, an executor, or manually, it would dispatch this event to "nmap" executor, this executor would run and create new services, agent would now dispatch "new service created" event for each service, which triggers "wpscan" executor for these services.
Implementing callbacks to the dispatcher would allow not only integrating tools to Faraday, but orchestrating tools together with other tools using Faraday.
Hello!
I've been trying to put together an automated testing environment with faraday at the center of it all, and I was curious if there was any way (currently or planned in the future) to hook callbacks from events such as "new host created", "new service created", "new vulnerability created".
So, as a simplified example, whenever a new host is created either by a plugin, an executor, or manually, it would dispatch this event to "nmap" executor, this executor would run and create new services, agent would now dispatch "new service created" event for each service, which triggers "wpscan" executor for these services.
Implementing callbacks to the dispatcher would allow not only integrating tools to Faraday, but orchestrating tools together with other tools using Faraday.