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

SearchSrv.NotFoundError #1242

Closed
crackytsi opened this issue Mar 3, 2020 · 2 comments
Closed

SearchSrv.NotFoundError #1242

crackytsi opened this issue Mar 3, 2020 · 2 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@crackytsi
Copy link

Bug / Feature Request

Work Environment

Question Answer
OS version (server) Debian
OS version (client) 10
TheHive version / git hash 4 RC1
Package Type DEB

Problem Description

If there is no cortex integrated, and you open a case a error message is popping up:
SearchSrv.NotFoundError
As you can see in the developer console this is linked to a call, that results in a 404:
http://:9000/api/connector/cortex/action/_search?range=0-100&sort=-startDate

Possible Solutions

Prevent that call if cortex is not configured.

@crackytsi crackytsi added TheHive4 TheHive4 related issues bug labels Mar 3, 2020
@crackytsi
Copy link
Author

If no cortex is configured and you see in the alerts view still the wheelchair. If you click on it, an error occures: AlertList: /api/connector/cortex/responder/alert/45152

@nadouani nadouani added this to the 4.0.0-RC2 milestone Mar 17, 2020
@nadouani nadouani changed the title [Bug] SearchSrv.NotFoundError SearchSrv.NotFoundError Mar 17, 2020
@nadouani
Copy link
Contributor

nadouani commented May 3, 2020

The bug needs to be fixed by the following tasks, if cortex is not enabled

  • Hide the responder button on alerts list
  • Don't call Cortex to fetch responder actions in case details
  • Don't call Cortex to fetch responder actions in task details
  • Don't call Cortex to fetch responder actions in observable details

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

No branches or pull requests

2 participants