faraday_agent_dispatcher
faraday_agent_dispatcher copied to clipboard
[Feature Request] Dispatch event callbacks
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.
Hi FlameOfIgnis!
We have already thought in a feature like this one, but your description will help us in the future development of it. For now, we are focused in a new frontend, so this feature will take a while.
We'll update this issue when we have news about this.
Best regards,
Eric
Four years have passed, any progress?
Hello @handbye, thanks for the follow-up! You can resolve this using the API the feature notification
Take a look at the notifications section:
Documentation:
https://docs.faradaysec.com/Notifications/
Let us know if you need help
More info about the api https://docs.faradaysec.com/api-swagger/
Can this function only be implemented through the API? This requires users to write their own code to implement it.