-
Beta Was this translation helpful? Give feedback.
Answered by
mtesauro
Jun 3, 2024
Replies: 1 comment 1 reply
-
If you're using the generic importer, it depends if you're importing JSON or CSV. Quickly skimming both parsers at https://github.com/DefectDojo/django-DefectDojo/tree/master/dojo/tools/generic it appears that the JSON supports endpoints and CSV does not. So, if you're doing CSV imports, getting endpoints added during import won't happen but can for JSON - there might be examples of the JSON with endpoints here: https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/generic HTH |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hippyjm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're using the generic importer, it depends if you're importing JSON or CSV. Quickly skimming both parsers at https://github.com/DefectDojo/django-DefectDojo/tree/master/dojo/tools/generic it appears that the JSON supports endpoints and CSV does not.
So, if you're doing CSV imports, getting endpoints added during import won't happen but can for JSON - there might be examples of the JSON with endpoints here: https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/generic
HTH