infobyte / faraday_agent_dispatcher

Faraday Agent Dispatcher launches any security tools and send results to Faradaysec Platform.
https://www.faradaysec.com/
GNU General Public License v3.0
39 stars 12 forks source link

[Feature Request] Dispatch event callbacks #2

Open ignis-sec opened 4 years ago

ignis-sec commented 4 years ago

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.

EricHorvat commented 4 years ago

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

handbye commented 4 weeks ago

Four years have passed, any progress?

f-amato commented 4 weeks ago

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 commented 4 weeks ago

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

handbye commented 4 weeks ago

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