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

[Bug] Attachment.* filters are broken under observable search in v4.0.1 #1649

Closed
KaanSK opened this issue Nov 14, 2020 · 1 comment
Closed
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@KaanSK
Copy link
Contributor

KaanSK commented Nov 14, 2020

Attachment.* filters are broken under observable search in v4.0.1

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian
OS version (client) Ubuntu, Windows10
TheHive version / git hash 4.0.1
Package Type DEB, Docker
Browser type & version All browsers

Problem Description

Under search/observables when attachment.hashes filter is selected no field to input data can be seen. Additionally, other attachment.* filters returns "Bad Request"

Steps to Reproduce

  1. Go to search/Observables
  2. Select attachment.hashes filter and observe there is no input field
  3. Select any other attachment.* filters and type 'test' for searching. Observe 'Bad Request' error.

Complementary information

issue (2)

@KaanSK KaanSK added TheHive4 TheHive4 related issues bug labels Nov 14, 2020
@nadouani nadouani self-assigned this Nov 16, 2020
@nadouani nadouani assigned To-om and unassigned nadouani Nov 16, 2020
@nadouani nadouani added this to the 4.0.2 milestone Nov 16, 2020
@nadouani
Copy link
Contributor

nadouani commented Nov 16, 2020

@To-om I found the following issues:

  • the /api/describe doesn't return the right type for attachment.hashes field. It returns hash instead of string
  • /api/v0/_search used in the Search page, produces Property attachment.size for type org.thp.scalligraph.traversal.Traversal.V[org.thp.thehive.models.Observable] not found" for attachment.* fields

To-om added a commit that referenced this issue Nov 17, 2020
@To-om To-om assigned nadouani and unassigned To-om Nov 17, 2020
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

3 participants