Merge pull request #230 from lctrcl/master

HotFix: Vulners module AI score
pull/232/head
Alexandre Dulaunoy 4 years ago committed by GitHub
commit bde8dcb512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      misp_modules/modules/expansion/vulners.py

@ -27,7 +27,7 @@ def handler(q=False):
vulnerability = request.get('vulnerability')
vulners_document = vulners_api.document(vulnerability)
vulners_exploits = vulners_api.searchExploit(vulnerability)
vulners_ai_score = vulners_api.aiScore(vulnerability)
vulners_ai_score = vulners_api.aiScore(vulners_document.get('description'))
if vulners_document:
vuln_summary += vulners_document.get('description')

Loading…
Cancel
Save