TheHive4py
TheHive4py copied to clipboard
Added run_responder functionality
Added the function "run_responder" to the file "api.py" that allows running a responder by its ID.
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.
Closing this as this functionality is already present in 2.x and 1.x is not supported anymore