Skip to content

[Bug] API method broken: /api/case/artifact/_search in 4.0.1 #1659

Closed
@DrJohn1

Description

@DrJohn1

API method broken: /api/case/artifact/_search (Bug)

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
TheHive version / git hash 4.0.1
Package Type DEB

Problem Description

Any calls to the API method /api/case/artifact/_search return "failed with ''org.thp.thehive.models.Case$$anon$28$$anon$29 cannot be cast to org.thp.thehive.models.Observable'. This happens also from TheHive4py.

Steps to Reproduce

  1. Make a POST call to /api/case/artifact/_search
  2. An error is returned

Complementary information

The error shown:
error_model_observable

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