fix: Added missing parameter org to resolvAttributes() call in the stix exporter

pull/2600/head
iglocska 2017-10-27 10:01:29 +02:00
parent 11b7e8e808
commit 4bb640ec8c
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def setDates(incident, date, published):
def resolveObjects(incident, ttps, objects, eventTags, org):
for obj in objects:
tmp_incident = Incident()
resolveAttributes(tmp_incident, ttps, obj["Attribute"], eventTags)
resolveAttributes(tmp_incident, ttps, obj["Attribute"], eventTags, org)
indicator = Indicator(timestamp=getDateFromTimestamp(int(obj["timestamp"])))
indicator.id_= namespace[1] + ":MispObject-" + obj["uuid"]
setProd(indicator, org)