Skip to content

[Enhancement] Remove blocking queries in some UI pages #1948

Closed
@nadouani

Description

Request Type

Enhancement

Feature Description

Case details page loads after some API queries returns their results, like the case links API. this AP can require some time for big cases with a big number of observables, as TheHive will try to find similarities for each observable.

The idea here is to make the case links query not blocking so the case details page case be displayed and the links loaded asynchronously

  • Make case links non-blocking
  • Remove extra case count query
  • Remove extra alert count query
  • Remove case stats count query used to display number of open and closed cases in the quick menu filter (expensive with small interest as the count is available above the toolbar).
  • Use count queries that rely on index backend queries for better performance
    • In case list
    • In alert list
    • In case observables
    • In case related alert
    • In case tasks
    • In custom tags admin
    • Fix psearch component to take into account limited counts

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions