TheHive4py icon indicating copy to clipboard operation
TheHive4py copied to clipboard

Added run_responder functionality

Open emalderson opened this issue 3 years ago • 1 comments

Added the function "run_responder" to the file "api.py" that allows running a responder by its ID.

emalderson avatar May 04 '21 18:05 emalderson

In order to start a responder by its name instead of using its ID, it is also possible to use the Cortex API through Cortex4py. For instance, assuming that "api_cortex" is the object representing the Cortex API, it is possible to obtain the responder ID for the Mailer responder as follows:

mailer_responder_id = api_cortex.responders.get_by_name('Mailer_1_0').id

This ID can then be passed to the "run_responder()" function.

emalderson avatar Aug 01 '21 14:08 emalderson

Closing this as this functionality is already present in 2.x and 1.x is not supported anymore

Kamforka avatar Sep 26 '23 17:09 Kamforka