Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Dispatch event callbacks #2

Open
ignis-sec opened this issue Aug 3, 2020 · 5 comments
Open

[Feature Request] Dispatch event callbacks #2

ignis-sec opened this issue Aug 3, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@ignis-sec
Copy link

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
Copy link
Contributor

EricHorvat commented Aug 3, 2020

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 EricHorvat added the enhancement New feature or request label Aug 3, 2020
@handbye
Copy link

handbye commented Aug 14, 2024

Four years have passed, any progress?

@f-amato
Copy link

f-amato commented Aug 14, 2024

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
Copy link

f-amato commented Aug 14, 2024

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

@handbye
Copy link

handbye commented Aug 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants