Bug description
When reimporting a report from Trivy Scan, if there are a large number of vulnerabilities (~1000), if the vulnerabilities were previously Active, they are marked as Active, Verified. The error is reproduced through both the UI and the pipeline.
Manually, the Active or Verified markup options are not additionally set.
The error is reproduced only when importing a large number of vulnerabilities. With a small amount, such a problem is not observed.
This causes big problems when the system is configured to send vulnerabilities marked Verified to Jira. Then ~1000 tickets are sent to Jira.
Steps to reproduce
Steps to reproduce the behavior:
- Set up integration with Jira to automatically send only Verified vulnerabilities
- Select an existing engagement
- Add a new test with scan type "Trivy Scan" with ~1000 vulnerabilities.
- Go to the engagement and click on the colon next to "Trivy Scan" and select "Re-upload a Trivy Scan"
- Select the same vulnerability file and upload
Expected behavior
Do not mark vulnerabilities as Verified when reimporting a large number of vulnerabilities, unless otherwise specified.
Deployment method
Environment information
- Operating System: Debian GNU/Linux 12 (bookworm)
- Docker Compose or Helm version: docker compose v2.40.0
- DefectDojo version (see footer) or commit message: v2.51.0
Logs
n/a
Sample scan files
Trivy Scan image report with 1000 or more vulnerabilities
Screenshots
Additional context (optional)
n/a