add domain to expand

pull/197/head
Sebdraven 4 years ago
parent de6a81d488
commit 396b71ef3b
  1. 2
      misp_modules/modules/expansion/onyphe_full.py

@ -44,8 +44,10 @@ def handler(q=False):
return handle_ip(api,ip,misperrors)
elif request.get('domain'):
domain = request['domain']
return handle_domain(api, domain, misperrors)
elif request.get('hostname'):
hostname = request['hostname']
return handle_domain(api, hostname, misperrors)
else:
misperrors['error'] = "Unsupported attributes type"
return misperrors

Loading…
Cancel
Save