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

Unable to disable invalid responders #157

Closed
nadouani opened this issue Dec 17, 2018 · 3 comments
Closed

Unable to disable invalid responders #157

nadouani opened this issue Dec 17, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@nadouani
Copy link
Contributor

Request Type

Bug

Problem Description

Invalid responders are responders that have been enabled, and for which the definition has been changed, making them obsolete.

The responders administration page is supposed to list them, allowing administrators to delete them.

screen shot 2018-12-17 at 11 42 56

@nadouani nadouani added the bug label Dec 17, 2018
@nadouani nadouani added this to the 2.1.3 milestone Dec 17, 2018
@nadouani nadouani self-assigned this Dec 17, 2018
@nadouani
Copy link
Contributor Author

If you cannot wait for this fix, you can list all your enabled responders

curl 'http://localhost:9200/cortex_2/worker/_search?q=type:responder'

find the one you want to delete, and then

curl -XDELETE 'http://localhost:9200/cortex_2/worker/RESPONDER_ID'

@cyberpescadito
Copy link

A year later.. :)
I have a dead responder still showing in responder menu & in thehive dropdown list of responders.

ElasticSearch version:

  "version" : {
    "number" : "5.6.16",
    "build_hash" : "3a740d1",
    "build_date" : "2019-03-13T15:33:36.565Z",
    "build_snapshot" : false,
    "lucene_version" : "6.6.1"
  }

command:
curl 'http://127.0.0.1:9200/cortex_1_4/worker/_search?q=type:responder'

result:
{"took":2,"timed_out":false,"_shards":{"total":5,"successful":5,"skipped":0,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}}

I can't get the responder ID this way. any clue?
many thanks

@Pindinga1
Copy link

Pindinga1 commented Apr 22, 2024

For delete responder
http://localhost:9001/api/responder <--- GET ID RESPONDER TO DELETE

curl -XDELETE -H 'Authorization: Bearer API_KEY' 'https://localhost:9001/api/responder/RESPONDER_ID'

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

No branches or pull requests

3 participants