Skip to content

[Bug] CaseNumber Conflict #2061

Closed
Closed
@nmprokop

Description

@nmprokop

Request Type

Bug

Work Environment

Question Answer
OS version (client) Ubuntu
Virtualized Env. True
Dedicated RAM 8 GB
vCPU 8
TheHive version / git hash 4.1.5
Package Type DEB
Database Cassandra
Index type Elasticsearch
Attachments storage Local

Problem Description

When multiple users import different alerts at the same time we are seeing some issues.

One error causes the alert import to fail because it violates a uniqueness constraint as shown below.

th4_error

If the import does not fail then the cases that are created can have the same case number.

th4_error_2

Steps to Reproduce

  1. Create two or more alerts in TheHive
  2. Have two or more users import different alerts to a case at the same time

Metadata

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions