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

Search results not visible #895

Closed
crackytsi opened this Issue Feb 22, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@crackytsi
Copy link

crackytsi commented Feb 22, 2019

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian
OS version (client) Seven
TheHive version / git hash 3.3.0 RC4
Package Type DEB

Problem Description

If I search for a string in "ALL" i sometimes get results, but I can't see them.
e.g. search for "SIT*"

image

@nadouani nadouani added the bug label Feb 23, 2019

@nadouani nadouani added this to the 3.3.0-RC5 milestone Feb 23, 2019

@nadouani nadouani self-assigned this Feb 23, 2019

@nadouani

This comment has been minimized.

Copy link
Contributor

nadouani commented Feb 23, 2019

@crackytsi This behavior means that the search query returns data that the UI doesn't expect to display. The search page knows how to render results of:

  • cases
  • tasks
  • task logs
  • observables
  • jobs
  • alerts
  • audit logs

I think that the 302 results you've got are something else.

Can you take a look to the JSON response and tell me what's the type of the returned rows/items?

@nadouani

This comment has been minimized.

Copy link
Contributor

nadouani commented Feb 23, 2019

Those undisplayed results are most certainly responder jobs. I'll exclude them

nadouani added a commit that referenced this issue Feb 23, 2019

@nadouani nadouani closed this Feb 23, 2019

@crackytsi

This comment has been minimized.

Copy link
Author

crackytsi commented Feb 24, 2019

@nadouani WoW!!! You are hard working. As it was weekend I would say to hard.
I checked the json results and as far as I could see they were all of the type "Audit"

		"_routing": "AWcroje9Qq32H1xMNCiK",
		"rootId": "AWKVDz4VufoPl6Jhh4eZ",
		"_type": "audit",
		"objectType": "case_task_log",
		"createdAt": 1542625310618,
		"_parent": null,
@crackytsi

This comment has been minimized.

Copy link
Author

crackytsi commented Feb 26, 2019

Great, works now fine with RC5 :)
In some rare situation i get the red message about something unhandled. After that the click on donuts in dashboard does not correctly add the filter to the searches, but I need to find a way to reproduce that.
Thanks a lot @nadouani 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.