Skip to content

Commit df7047d

Browse files
committed
fix: Fixed output format to match with the recent changes on modules
1 parent 29e681e commit df7047d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misp_modules/modules/import_mod/goamlimport.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def handler(q=False):
165165
misperrors['error'] = "Impossible to read XML data"
166166
return misperrors
167167
aml_parser.parse_xml()
168-
r = {'results': [obj.to_json() for obj in aml_parser.misp_event.objects]}
168+
r = {'results': {'Object': [obj.to_json() for obj in aml_parser.misp_event.objects]}}
169169
return r
170170

171171

0 commit comments

Comments
 (0)