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

Kiuwan CSV Import mixes Software characteristic and Vulnerability type columns

Open flmarkus opened this issue 2 years ago • 5 comments

Bug description There are two types of CSV files that can be exported from kiuwan: Defects and Vulnerabilities. Vulnerablilities contain two columns: Software characteristic and Vulnerability type. Defects only contain Software characteristic. Both type of exports can be imported without errors, but the Software characteristic column is displayed as Vulnerability type. This is missleading. And the Vulnerability type for vulnerabilities is missing.

Steps to reproduce Steps to reproduce the behavior:

  1. Create an project
  2. Create an engagement
  3. Upload defects and vulnerabilities CSV Export from Kiuwan
  4. See the missleading description content of the imported Findings

Expected behavior The Software characteristic column should be contained as Software characteristic in the description. The Vulnerability type should be added to the description as well. But only if the column exists which is the case for vulnerability exports.

Deployment method (select with an X)

  • [ ] Docker Compose
  • [ ] Kubernetes
  • [ ] GoDojo
  • [X] DefectDojo Saas (Pro Account)

Environment information

  • DefectDojo Version 2.30.1 - Pro

Sample scan files kiuwan-defects-report.csv kiuwan-vulnerabilities-report.csv

flmarkus avatar Jan 10 '24 10:01 flmarkus

This can be closed @mtesauro

manuel-sommer avatar Jan 10 '24 22:01 manuel-sommer

Thanks for the fast reponse @manuel-sommer!

Unfortunately this change does not solve our issue and (I'm sorry to say this) makes it even worse. I tested the changes from the dev branch.

Importing the defects file from the PR will fail with this error: image

The reason is, that defects do not have the vulnerability type column. Please do not ship this version. It will make us unable to continue using DefectDojo for kiuwan defects.

flmarkus avatar Jan 11 '24 13:01 flmarkus

@mtesauro Is it possible to open this issue again? Or should I file a new one?

flmarkus avatar Jan 11 '24 13:01 flmarkus

Ah, sorry, I overlooked "But only if the column exists which is the case for vulnerability exports."

manuel-sommer avatar Jan 11 '24 14:01 manuel-sommer

@flmarkus Assuming you don't want to reopen this based on your last comment - keeping closed.

mtesauro avatar Jan 12 '24 00:01 mtesauro