fix: Allow email-src and email-dst as input for apivoid module

pull/555/head
Jeroen Pinoy 2022-02-22 23:33:55 +01:00
parent 0775769714
commit a1e468f7bf
No known key found for this signature in database
GPG Key ID: DF33A50B8E4EE081
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from . import check_input_attribute, standard_error_message
from pymisp import MISPAttribute, MISPEvent, MISPObject from pymisp import MISPAttribute, MISPEvent, MISPObject
misperrors = {'error': 'Error'} misperrors = {'error': 'Error'}
mispattributes = {'input': ['domain', 'hostname', 'email'], 'format': 'misp_standard'} mispattributes = {'input': ['domain', 'hostname', 'email', 'email-src', 'email-dst'], 'format': 'misp_standard'}
moduleinfo = {'version': '0.2', 'author': 'Christian Studer', moduleinfo = {'version': '0.2', 'author': 'Christian Studer',
'description': 'On demand query API for APIVoid.', 'description': 'On demand query API for APIVoid.',
'module-type': ['expansion', 'hover']} 'module-type': ['expansion', 'hover']}