Title: ImportScanService not up to date with DefectDojo serializers · Issue #6 · secureCodeBox/defectdojo-client-java · GitHub
Open Graph Title: ImportScanService not up to date with DefectDojo serializers · Issue #6 · secureCodeBox/defectdojo-client-java
X Title: ImportScanService not up to date with DefectDojo serializers · Issue #6 · secureCodeBox/defectdojo-client-java
Description: With secureCodeBox we would like to import generic secureCodeBox findings through DefectDojo's importer API. Currently, we're retrieving the Test Type using TestTypeService. This is however no longer neccessary, as DefectDojo is able to ...
Open Graph Description: With secureCodeBox we would like to import generic secureCodeBox findings through DefectDojo's importer API. Currently, we're retrieving the Test Type using TestTypeService. This is however no long...
X Description: With secureCodeBox we would like to import generic secureCodeBox findings through DefectDojo's importer API. Currently, we're retrieving the Test Type using TestTypeService. This is however...
Opengraph URL: https://github.com/secureCodeBox/defectdojo-client-java/issues/6
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImportScanService not up to date with DefectDojo serializers","articleBody":"With secureCodeBox we would like to import generic secureCodeBox findings through DefectDojo's importer API. Currently, we're retrieving the Test Type using `TestTypeService`. This is however no longer neccessary, as DefectDojo is able to determine the scan type automatically:\r\n\r\nThe `ImportScanSerializer` uses the `scan_type` and `ReImportScanSerializer` uses `test` (existing test ID).\r\n\r\nThis wrapper client, however, does not properly reflect the serializer.\r\n\r\nPlease take a look at the serializers:\r\n\r\nImportScanSerializer:\r\nhttps://github.com/DefectDojo/django-DefectDojo/blob/aab58b08e7f309158373e6ab68ec0cf2a8bb5bf7/dojo/api_v2/serializers.py#L1049-L1146\r\n\r\nReImportScanSerializer:\r\nhttps://github.com/DefectDojo/django-DefectDojo/blob/aab58b08e7f309158373e6ab68ec0cf2a8bb5bf7/dojo/api_v2/serializers.py#L1149-L1224\r\n\r\nOnce this wrapper is up-to-date with DefectDojo's API, we can update secureCodeBox's persistence-provider for DefectDojo and properly make use of the new secureCodeBox parser [#443](https://github.com/DefectDojo/django-DefectDojo/pull/4431)!\r\n\r\nFor testing purposes, you can also take a look at how you can import scan results in the UI. It only takes the scan type.\r\n\r\n\r\n\r\nIf you need any help debugging or testing, let me know!","author":{"url":"https://github.com/EndPositive","@type":"Person","name":"EndPositive"},"datePublished":"2021-06-10T13:41:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/6/defectdojo-client-java/issues/6"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5d60390c-2d82-d9b5-8fb1-de6b46db62a6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC4C:18347E:2BD76B:3C6F81:698F3BA7 |
| html-safe-nonce | ff51277a5e126e445af37e51fa00fc15b132b329ca1d3e2daec8ee0eba92a441 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzRDOjE4MzQ3RToyQkQ3NkI6M0M2RjgxOjY5OEYzQkE3IiwidmlzaXRvcl9pZCI6IjUzOTAwNjk4NDUyNjQ5MDcxNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9f54835eb21c4c41c28267945778fb7198158d8fa3450a3e0c450e88cfeec33b |
| hovercard-subject-tag | issue:917361229 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/defectdojo-client-java/6/issue_layout |
| twitter:image | https://opengraph.githubassets.com/50da88fd030f337be023ba9fe36f533354b2507c30d9e0aec6e4b35260f70d6b/secureCodeBox/defectdojo-client-java/issues/6 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/50da88fd030f337be023ba9fe36f533354b2507c30d9e0aec6e4b35260f70d6b/secureCodeBox/defectdojo-client-java/issues/6 |
| og:image:alt | With secureCodeBox we would like to import generic secureCodeBox findings through DefectDojo's importer API. Currently, we're retrieving the Test Type using TestTypeService. This is however no long... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EndPositive |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/defectdojo-client-java git https://github.com/secureCodeBox/defectdojo-client-java.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 327269915 |
| octolytics-dimension-repository_nwo | secureCodeBox/defectdojo-client-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 327269915 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/defectdojo-client-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d6ba6f2bfbf6399a7c07495a912727369e95bfe8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width