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

Add responder functionality to TheHive4Py #108

Closed
wants to merge 10 commits into from

Conversation

zpriddy
Copy link

@zpriddy zpriddy commented Mar 14, 2019

Added function to run responder by either responderID or ResponderName. Also added functions to verify responderName and search for responder by responderName.

If you say run_responder(,,responder_name='slackbot') it will fail the verification for the responder name because it is not slackbot_1_0 with the version numbers, however it will do a query for responders with a query string of slackbot and if there is only one matching responder it will run that responder.

@nadouani nadouani changed the base branch from master to 1.x May 9, 2019 08:28
"""
data = {
"query": {
"_string": responder_name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The _string is no longer recommended with ES6

"objectId": object_id
}

if responder_name:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of all this if statement?

@Kamforka
Copy link
Collaborator

Going to be tracked in #294 and closing this as 1.x is not supported anymore

@Kamforka Kamforka closed this Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants