Repository navigation
3520: Added OSSIndex Devaudit scanner import functionality - #3570
Conversation
3520: Added OSSIndex Devaudit scanner import functionality 3520: OSSIndex Devaudit scanner import naming and EOF fixes 3520: Flake8 Lint fix, naming fix 3520: Unit test file format fix 3520: parser.py linting fixes 3520: Unit test file format fix 3520: Unit test file format fix 3520: Unit test file format fix 3520: Flake8 format fix
CWE: Fixed to include numeric value only CVE: Removed since the devaudit scans don't return the CVE data.
|
All above comments have been addressed. Please let me know if you would like a squash commit like the previous attempt. |
|
Thanks. Can you double check if all the references fields are always present? Everywhere where there is a |
Changed handling of reference field 1) use data.get in case the reference field is ever missing. 2) always add the snyk reference first so reference data is present. 3) add unit tests for empty reference, missing reference, check for starting with Snyk reference.
Changed handling of cwe field 1) use data.get in case the cwe field is ever missing. 2) check cwe data and set cwe to 1035 if empty or None 3) If cwe data is present, replace the "CWE-" with empty string to get the numeric cwe value 4) add unit tests for empty cwe, missing cwe, null cwe.
damiencarol
left a comment
There was a problem hiding this comment.
Made some comment and suggestions.
|
To me the link to snyk looks useful to have here, or maybe we should add/show it always in defect dojo. But the link here seems to use the dependency_source value, which is not present in the dojo model. Just doing an |
Changed parser and unit test Tested using import file with cvss score missing, 0, and 11.
|
Thanks. Could add a PR for documentation in https://github.com/DefectDojo/Documentation and a sample scan in https://github.com/DefectDojo/sample-scan-files |
|
If you could please provide the minimal documentation at https://github.com/DefectDojo/Documentation/blob/master/docs/integrations.rst and PR up a sample scan file at https://github.com/DefectDojo/sample-scan-files Once linked here, we can merge your new parser. Thanks! |
|
I'm working though a couple fire drills at the moment, but I'm hoping to
get through the documentation and sample PRs early this week.
…On Sat, Jan 9, 2021, 10:29 AM Fred Blaise ***@***.***> wrote:
If you could please provide the minimal documentation at
https://github.com/DefectDojo/Documentation/blob/master/docs/integrations.rst
and PR up a sample scan file at
https://github.com/DefectDojo/sample-scan-files
Once linked here, we can merge your new parser.
Thanks!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#3570 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK23HQ6BUS24QUZ6TZEWCDSZBY55ANCNFSM4VOWJ2ZQ>
.
|
|
Sample Scan PR Documentation PR |
|
resolved conflicts |
damiencarol
left a comment
There was a problem hiding this comment.
Thre is still some formatting error
Hey Damien, As I am new to this whole process, I could use your help. I had this passing last week, but it looks like something else changed that is impacting my commits. Do I need to sync my fork and go through everything again? Regards, |
|
@bp4151 I fixed your formatting bps. Thanks for your effort and your patience. It should be ok now 🌈 |
|
Thanks @bp4151 . Sometimes it takes some iterations to make sure it's future proof :-) |
Added OSSIndex Devaudit scanner import functionality

Squashed prior commits
3520: Added OSSIndex Devaudit scanner import functionality
3520: Added missing test_type.json changes
3520: OSSIndex Devaudit scanner import naming and EOF fixes