Skip to content

[Bug] Analyzer list is not refreshing properly when organization change #2025

Closed
@torsolaso

Description

Request Type

Bug

Work Environment

Question Answer
TheHive version / git hash 4.1.4
Database Cassandra
Index type Elasticsearch

Problem Description

I tested following environment:

  • THv4 ORG_A linked to ORG_A in Cortex with some analyzers
  • THv4 ORG_B linked to ORG_B in Cortex with other analyzerz
  • an user on THv4 ORG_A and THv4_ORG_B

And i detect that the analyzer list offered to the user is the same if you dont refresh the browser on organization change.

Steps to Reproduce

  1. Create THv4 ORG_A
  2. Create THv4 ORG_B
  3. Create Cortex ORG _A
  4. Create Cortex ORG_B
  5. Activate several and differents analyzers on cortex organizations
  6. Create a THv4 user inside ORG_A and ORG_B
  7. Create case in THv4 using ORG_A
  8. Create an observable
  9. Share the case with ORG_B
  10. Go to observable details view and note what analyzers THv4 offers you
  11. Change from ORG_A to ORG_B
  12. Go to the case an observable detals and note that analyzers offered are the same on ORG_A and they are not working.
  13. Refresh browser, and check that you are on ORG_B, go to observable details and check that now you have ORG_B Cortex analyzers

Possible Solutions

Refresh analyzer list checking current organizations user.

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions