faraday_agent_dispatcher icon indicating copy to clipboard operation
faraday_agent_dispatcher copied to clipboard

[Feature Request] Dispatch event callbacks

Open ignis-sec opened this issue 4 years ago • 5 comments

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.

ignis-sec avatar Aug 03 '20 17:08 ignis-sec

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

EricHorvat avatar Aug 03 '20 19:08 EricHorvat

Four years have passed, any progress?

handbye avatar Aug 14 '24 06:08 handbye

Hello @handbye, thanks for the follow-up! You can resolve this using the API the feature notification Take a look at the notifications section: Screenshot 2024-08-14 at 10 30 58 AM Documentation: https://docs.faradaysec.com/Notifications/

Let us know if you need help

f-amato avatar Aug 14 '24 13:08 f-amato

More info about the api https://docs.faradaysec.com/api-swagger/

f-amato avatar Aug 14 '24 22:08 f-amato

Can this function only be implemented through the API? This requires users to write their own code to implement it.

handbye avatar Aug 15 '24 01:08 handbye