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] Observable dont refresh automatically when adding new one. #1975

Closed
torsolaso opened this issue Apr 15, 2021 · 10 comments
Closed

[Bug] Observable dont refresh automatically when adding new one. #1975

torsolaso opened this issue Apr 15, 2021 · 10 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@torsolaso
Copy link

Request Type

Bug

Work Environment

Question Answer
TheHive version / git hash 4.1.4

Problem Description

The UX when adding observables is not good, because when you add and obs you must change tab or refresh the browser.

Steps to Reproduce

  1. Create case
  2. Go to observables tags an create an observable

image

  1. Move to details tab and go back on observable details. Note (1 of 0)

image

  1. Refresh browser. Note (1 of 1)

image

Possible Solutions

Refresh observable listing on adding feature.

@torsolaso torsolaso added TheHive4 TheHive4 related issues bug labels Apr 15, 2021
@nadouani
Copy link
Contributor

Hello @torsolaso what's your index component? ES or Lucene?

@torsolaso
Copy link
Author

Hello, sorry i forgot add that info. I am unsing ES.

@azgaviperr
Copy link

Hello, I had the issue prior to 4.1.4 with Lucene index.
Last update helped on this matter, at least for the creation part, deletion of observable doesn't refresh however.

@torsolaso
Copy link
Author

@azgaviperr i am in 4.1.4 and the behaviour is the same. But i am using ES i think this is probably the reason

@nadouani nadouani self-assigned this Jun 7, 2021
@nadouani nadouani added this to the 4.1.6 milestone Jun 7, 2021
@nadouani
Copy link
Contributor

nadouani commented Jun 9, 2021

Hello guys, the list is supposed to be refreshed of course, so if it doesn't then we need to investigate. All lists on TheHive react to what happens on the stream, including "a new observable has been created".

Let me troubleshoot this and I'll let you know.

@nadouani
Copy link
Contributor

Quick question: do you see a new an event popping in the right side live feed or not when you add a new observable?

@torsolaso
Copy link
Author

Hi nadouani,

Let me attach screenshots with right side.

When i add a new observable i can see the adding operation on the live feed but my list only has 1 observable

image

@nadouani
Copy link
Contributor

It sounds like the exact same issue with the tasks and logs.

@torsolaso
Copy link
Author

Hi @nadouani i repeat same screenshot that on tasks logs issue.

image

  • /api/v1/query?name=observables only returns 2 obs

[{"_id":"~680276024","_type":"Observable","_createdBy":"[email protected]","_createdAt":1620809183351,"dataType":"app","data":"ASDASD","startDate":1620809183351,"tlp":2,"tags":["ASD"],"ioc":false,"sighted":false,"reports":{},"message":"","extraData":{"seen":{"seen":0,"ioc":false},"permissions":["manageShare","manageAnalyse","manageTask","manageCaseTemplate","manageCase","manageUser","manageProcedure","managePage","manageObservable","manageTag","manageConfig","manageAlert","accessTheHiveFS","manageAction"],"shareCount":1},"ignoreSimilarity":false},{"_id":"~1539449016","_type":"Observable","_createdBy":"[email protected]","_updatedBy":"[email protected]","_createdAt":1618498480924,"_updatedAt":1620809173183,"dataType":"domain","data":"test","startDate":1618498480924,"tlp":2,"tags":[],"ioc":true,"sighted":false,"reports":{},"message":"test 2","extraData":{"seen":{"seen":1,"ioc":false},"permissions":["manageShare","manageAnalyse","manageTask","manageCaseTemplate","manageCase","manageUser","manageProcedure","managePage","manageObservable","manageTag","manageConfig","manageAlert","accessTheHiveFS","manageAction"],"shareCount":1},"ignoreSimilarity":false}]

@nadouani
Copy link
Contributor

Hello, I had the issue prior to 4.1.4 with Lucene index.
Last update helped on this matter, at least for the creation part, deletion of observable doesn't refresh however.

Refresh on delete has been fixed in #2076

@nadouani nadouani modified the milestones: 4.1.6, 4.2.0 Jun 14, 2021
@nadouani nadouani assigned To-om and unassigned nadouani Aug 30, 2021
To-om added a commit that referenced this issue Sep 3, 2021
@To-om To-om closed this as completed Sep 3, 2021
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

4 participants