django-DefectDojo icon indicating copy to clipboard operation
django-DefectDojo copied to clipboard

Severity "lost" when importing a Qualys Scan

Open nv-pipo opened this issue 1 year ago • 0 comments

Bug description When trying to import import a "Qualys Scan" (Qualys VMDR) the severity is lost because the mapping (dict) is expecting an int. Xml's parser returns a string (findtext), so it needs to be converted to int.

Please approve PR: https://github.com/DefectDojo/django-DefectDojo/pull/10205

Basically, it's just a cast from string to int.

Steps to reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Deployment method (select with an X)

  • [ ] Docker Compose
  • [ ] Kubernetes
  • [ ] GoDojo

Environment information

  • Operating System: [e.g. Ubuntu 18.04]
  • DefectDojo version (see footer) or commit message: [use git show -s --format="[%ci] %h: %s [%d]"]

Logs Use docker-compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).

Sample scan files If applicable, add sample scan files to help reproduce your problem.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context (optional) Add any other context about the problem here.

nv-pipo avatar May 14 '24 16:05 nv-pipo