mirror of https://github.com/mvt-project/mvt.git
Optionally loading indicators description
This commit is contained in:
parent
3899dce353
commit
0d75dc3ba0
|
@ -98,7 +98,7 @@ class Indicators:
|
||||||
if entry_type == "malware":
|
if entry_type == "malware":
|
||||||
malware[entry["id"]] = {
|
malware[entry["id"]] = {
|
||||||
"name": entry["name"],
|
"name": entry["name"],
|
||||||
"description": entry["description"],
|
"description": entry.get("description", ""),
|
||||||
}
|
}
|
||||||
elif entry_type == "indicator":
|
elif entry_type == "indicator":
|
||||||
indicators.append(entry)
|
indicators.append(entry)
|
||||||
|
|
Loading…
Reference in New Issue