fixed indent

pull/409/head
Jesse Hedden 2020-06-25 15:22:54 -07:00
parent 2d31b4e037
commit 9e1bc5681b
1 changed files with 32 additions and 29 deletions

View File

@ -91,6 +91,7 @@ class TruSTARParser:
trustar_obj.add_attribute("REPORT_LINK", attribute_type="link", value=link)
self.misp_event.add_object(**trustar_obj)
def handler(q=False):
"""
MISP handler function. A user's API key and secret will be retrieved from the MISP
@ -122,9 +123,11 @@ class TruSTARParser:
trustar_parser.parse_indicator_summary(summaries)
return trustar_parser.get_results()
def introspection():
return mispattributes
def version():
moduleinfo['config'] = moduleconfig
return moduleinfo