Added support for SHA256 and MISPObject attributes to Defender export module.

pull/605/head
Maik Würth 2023-03-10 16:08:49 +01:00
parent 8cc4774be5
commit db5e56c7b2
1 changed files with 1 additions and 1 deletions

View File

@ -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'