-
Notifications
You must be signed in to change notification settings - Fork 640
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
Importing Report Templates not working in 3.1.2-1 #797
Comments
Wireshark capture of the upload try. (tried 2 times) |
application.log (During the click of "Import") |
How large is your report-templates.zip? |
Size: 139 KB (142'392 Bytes) |
Hmm Strange...
Does it work to import the zip file? upload the whole zip file,... |
I tried it with: test.zip That works fine! :) |
Sounds great. just to ensure it: If you upload the whole ZIP file containing all analyzers it fails? I can see that urlscan.io seems to be wrong... But not sure if this has any dependency. |
correct. test.zip The import went fine without an error, but the templates are not shown! There are still all default. |
I remember, that I also had some issues, and I renamed it from . to _. |
Ok after renaming the folder in the test.zip from Urlscan.io_Search_1.0 to Urlscan_io_Search_1_0 the import ist still ok and the templates are shown on the right side in the GUI :). |
@To-om Might it be possible that the . is wrongly interpreted as json-sub-structure? |
@auslaender6 Does it work, if you completely remove the urlscan-io file and try to import everything else? |
After removing the urlscan-io folder it still fails with the same error. :( So I have to check every 103 analzers manually to figure it out which is failing? ;) |
It requires only log tries ;) |
I`m getting closer, I removed the last 50 analzer folders in the report-templates file.zip, this import is working, so something with the last 50 folders is wrong ;) |
Ok just down to the last 13 folders... now the error is back again, I`ll test the rest |
Ok it is definitly: URLhaus_1_0 but nervertheless the urlscan-io is also wrong "." instead of "_" but this doesn`t interfere with the import, but should be corrected. |
looks like there is something wrong in the long.html |
I don't like this:
It looks like the cc @3c7 |
Don't ask me how I've catched this :-) |
lol 👍 you did it, that counts :) |
I just tried it, now the import is fine :) wil you also correct this in the source? |
@auslaender6 Issue created TheHive-Project/Cortex-Analyzers#375. I'll close this one, and thanks for the investigation cc @crackytsi |
Request Type
Bug
Work Environment
Problem Description
After installation of TheHive I try to upload the "report-templates.zip" file via the WebGUI, this fails with this Error: AdminReportTemplateImportCtrl: Input length = 1
Steps to Reproduce
Complementary information
Error Message:

The text was updated successfully, but these errors were encountered: