Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Import file observable in gui generate error #1697

Closed
dadokkio opened this issue Dec 3, 2020 · 0 comments
Closed

[Bug] Import file observable in gui generate error #1697

dadokkio opened this issue Dec 3, 2020 · 0 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@dadokkio
Copy link

dadokkio commented Dec 3, 2020

With the latest change in cortexutils see attached files observable in the gui
image

but when I'm going to import the observable I have an attributecheckingerror
image

message: "[Invalid format for attachment: FSeq(List(FObject(Map(name -> FString(efdc94e9b627fa760c88d61ce6ec8ba0388224938725c37a33b5533f33a599fb), size -> FNumber(56320.0), id -> FString(efdc94e9b627fa760c88d61ce6ec8ba0388224938725c37a33b5533f33a599fb), contentType -> FString(application/octet-stream), hashes -> FSeq(List(FString(efdc94e9b627fa760c88d61ce6ec8ba0388224938725c37a33b5533f33a599fb), FString(5054c2793f027a8b3c3a7eb5d21f7ae1b14035f4), FString(df100c2a6d13f5d413eed98345681491))))))), expected file (file)]"

Same workflow works fine in TH3

A sample analyzer that creates files attachments can be found here:
https://gist.github.com/dadokkio/a51d2d9f92c92395128596eaf120ac2e

@dadokkio dadokkio added bug TheHive4 TheHive4 related issues labels Dec 3, 2020
@dadokkio dadokkio changed the title [TH4] Add file observable in gui generate error [TH4] Import file observable in gui generate error Dec 3, 2020
@To-om To-om added this to the 4.0.3 milestone Dec 15, 2020
@To-om To-om closed this as completed Dec 15, 2020
@nadouani nadouani changed the title [TH4] Import file observable in gui generate error [Bug] Import file observable in gui generate error Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

2 participants