Fix all the things!
This commit is contained in:
parent
399bf4e9c7
commit
25b8b7590f
4 changed files with 58 additions and 45 deletions
|
@ -18,9 +18,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class SecurityNotificationWorker(QueueWorker):
|
||||
def process_queue_item(self, queueitem):
|
||||
data = json.loads(queueitem.body)
|
||||
|
||||
def process_queue_item(self, data):
|
||||
cve_id = data['Name']
|
||||
vulnerability = data['Content']['Vulnerability']
|
||||
priority = vulnerability['Priority']
|
||||
|
|
Reference in a new issue