mirror of https://github.com/MISP/misp-modules
Added support for SHA256 and MISPObject attributes to Defender export module.
parent
8cc4774be5
commit
db5e56c7b2
|
@ -82,7 +82,7 @@ def handler(q=False):
|
|||
for attribute in event["Attribute"]:
|
||||
if attribute['type'] in types_to_use:
|
||||
output = output + handlers[attribute['type']](attribute['value'], config['Period']) + '\n'
|
||||
for obj in event["Object"]
|
||||
for obj in event["Object"]:
|
||||
for attribute in obj["Attribute"]:
|
||||
if attribute['type'] in types_to_use:
|
||||
output = output + handlers[attribute['type']](attribute['value'], config['Period']) + '\n'
|
||||
|
|
Loading…
Reference in New Issue