adding missing mispattributes

pull/633/head
Andreas Muehlemann 2023-08-24 13:02:31 +02:00
parent 53d4cb3860
commit 85af573a74
1 changed files with 2 additions and 2 deletions

View File

@ -2,10 +2,10 @@ import json
from dns import reversename, resolver, exception
misperrors = {'error': 'Error'}
mispattributes = {'input': ['ip-src', 'ip-dst', 'domain|ip'], 'output': ['hostname']}
mispattributes = {'input': ['ip-src', 'ip-dst', 'domain|ip', 'ip-src|port', 'ip-dst|port'], 'output': ['hostname']}
# possible module-types: 'expansion', 'hover' or both
moduleinfo = {'version': '0.2', 'author': 'Andreas Muehlemann',
moduleinfo = {'version': '0.3', 'author': 'Andreas Muehlemann',
'description': 'Simple Reverse DNS expansion service to resolve reverse DNS from MISP attributes',
'module-type': ['expansion', 'hover']}