Skip to content

Commit

Permalink
Merge pull request #538 from dadokkio/patch-2
Browse files Browse the repository at this point in the history
Fix - updated cortexutil Extractor return keys
  • Loading branch information
dadokkio authored Mar 17, 2020
2 parents bd3b045 + 1bd02ad commit 7687506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/MISPWarningLists/mispwarninglists.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def readwarninglists(self):
values = Extractor().check_iterable(content.get('list', []))
obj = {
"name": content.get('name', 'Unknown'),
"values": [value['value'] for value in values],
"dataTypes": [value['type'] for value in values]
"values": [value['data'] for value in values],
"dataTypes": [value['dataType'] for value in values]
}
listcontent.append(obj)
return listcontent
Expand Down

0 comments on commit 7687506

Please sign in to comment.