mirror of https://github.com/MISP/misp-modules
fixed indent
parent
2d31b4e037
commit
9e1bc5681b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue