fix: Added the moduleinfo field need to have MISP event in standard format

pull/164/head
chrisr3d 2018-02-21 17:14:26 +01:00
parent c3ac53a069
commit 5995458aab
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,8 @@ from collections import defaultdict, Counter
misperrors = {'error': 'Error'} misperrors = {'error': 'Error'}
moduleinfo = {'version': '1', 'author': 'Christian Studer', moduleinfo = {'version': '1', 'author': 'Christian Studer',
'description': 'Export to GoAML', 'description': 'Export to GoAML',
'module-type': ['export']} 'module-type': ['export'],
'require_standard_format': True}
moduleconfig = ['rentity_id'] moduleconfig = ['rentity_id']
mispattributes = {'input': ['MISPEvent'], 'output': ['xml file']} mispattributes = {'input': ['MISPEvent'], 'output': ['xml file']}
outputFileExtension = "xml" outputFileExtension = "xml"

View File

@ -15,7 +15,8 @@ misperrors = {'error': 'Error'}
moduleinfo = {'version': '1', moduleinfo = {'version': '1',
'author': 'Raphaël Vinot', 'author': 'Raphaël Vinot',
'description': 'Simple export to PDF', 'description': 'Simple export to PDF',
'module-type': ['export']} 'module-type': ['export'],
'require_standard_format': True}
moduleconfig = [] moduleconfig = []