DependencyTrack / DependencyTrack/dependency-track

Enhance Defectdojo and other integrations to only sync on changes

Open
#2,555 0 comments 1 reaction 0 assignees View on GitHub
enhancement integration/defectdojo
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

Currently the syncing to Defectdojo is managed over the "Synchronization cadence" variable regardless if the findings in a project have changed, this leads to a lot of imports(or re-imports) into Defectdojo.

image

### Proposed Behavior

The VulnerabilityManagementUploadTask stores a unique value that identifies the current set of findings on a project. This could be "ProjectMetrics" or a HASH of the current Finding_ids (and status ?), at least something that we know will change if the findings within a project change.

Only when this unique value has changed (and therefore the findings within the project have changed) the findings are synced to Defectdojo again.

### Checklist

- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.