add: [variotdbs] Updated the exploit object mapping to support the object attributes recently added to the `exploit` template

pull/590/head
Christian Studer 2022-10-26 11:35:59 +02:00
parent 8e97bf9938
commit 5526c2c195
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ class VariotdbsParser:
self.__misp_event = misp_event self.__misp_event = misp_event
self.__exploit_mapping = { self.__exploit_mapping = {
'credits': 'credit', 'credits': 'credit',
'exploit': 'exploit' 'description': 'description',
'exploit': 'exploit',
'title': 'title'
} }
self.__exploit_multiple_mapping = { self.__exploit_multiple_mapping = {
'cve': { 'cve': {