mirror of https://github.com/MISP/misp-modules
Dump host info as text
parent
ea2f106b00
commit
a0cce11964
|
@ -36,7 +36,7 @@ def handler(q=False):
|
||||||
|
|
||||||
|
|
||||||
def handle_expansion(api, domain):
|
def handle_expansion(api, domain):
|
||||||
return {'results': [{'types': mispattributes['output'], 'values': api.host(domain)}]}
|
return {'results': [{'types': mispattributes['output'], 'values': json.dumps(api.host(domain))}]}
|
||||||
|
|
||||||
|
|
||||||
def introspection():
|
def introspection():
|
||||||
|
|
Loading…
Reference in New Issue