We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug description Defectdojo v2.32.1 is unable to import pip-audit v2.7.2 json output ( --format json) old json structure (the one you use with unit tests https://github.com/DefectDojo/django-DefectDojo/blob/master/unittests/scans/pip_audit/many_vulns.json):
[ { "name": "component_name", "version": "component_version", "vulns": [ { "id": "vuln_id", "fix_versions": [ "vuln_fix_versions" ], "description": "vuln_description" } ] } ]
new json structure:
{ "dependencies": [ { "name": "component_name", "version": "component_version", "vulns": [ { "id": "vuln_id", "fix_versions": [ "vuln_fix_versions" ], "aliases": [ "vuln_aliases" ], "description": "vuln_description" } ] } ], "fixes": [] }
I've attached a patch file with a fix that worked for me pip-audit_parser.patch.txt
Hope it helps
The text was updated successfully, but these errors were encountered:
Do you have a complete scan result?
Sorry, something went wrong.
Sure, I've attached a sample
sample.json
@remote-tty1 This pull request which has already been merged to dev takes care of this issue: #9696
dev
Ah nice @grendel513, was about to help here.
Can we close this?
No branches or pull requests
Bug description
Defectdojo v2.32.1 is unable to import pip-audit v2.7.2 json output ( --format json)
old json structure (the one you use with unit tests https://github.com/DefectDojo/django-DefectDojo/blob/master/unittests/scans/pip_audit/many_vulns.json):
new json structure:
I've attached a patch file with a fix that worked for me
pip-audit_parser.patch.txt
Hope it helps
The text was updated successfully, but these errors were encountered: