Closed
Description
Request Type
Feature Request
Work Environment
Question | Answer |
---|---|
OS version (server) | Debian |
TheHive version / git hash | 3.0.3 |
Package Type | DEB |
Problem Description
When merging two cases, the artifacts of the newly created case do not have any previously generated reports.
Steps to Reproduce
- Execute at least one analyzer on an artifact
- Merge the case of the artifact with some other case
- The associated artifact in the new case does not have any report and it is necessary to run analyzers again
Possible Solutions
When merging two artifacts, the case_artifact_job
objects associated to both artifacts should be found from the database, copied and linked to the newly created artifact. Recreating the short reports for the artifacts should be done by using for each analyzer the most recent report.