You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
When you import semgrep results as SARIF test type all results saved as needed and you have 34 findings.
But when you try to reimport the same results with option close_old_findings=true, DD marks almost all findings as mitigated and you have 1 active and 33 mitigated.
Steps to reproduce
Steps to reproduce the behavior:
Create Product
Create CI/CD engagement with deduplication disabled
Create test with type SARIF and upload semgrep.sarif
Reimport again semgrep.sarif
Now yoy have 1 active and 33 mitigated results
Expected behavior
When you reimport the same file several times it should produce the same results as in the first import.
Deployment method(select with an X)
Kubernetes
Environment information
DefectDojo version (see footer) or commit message: 2.41.2
Sample scan files
I can't upload .sarif file, so just remove .json from filename semgrep.sarif.json
Additional context
I managed to reproduce this bug on demo.defectdojo.org so you can find it here
Async and sync import produce the same results.
The text was updated successfully, but these errors were encountered:
Bug description
When you import semgrep results as SARIF test type all results saved as needed and you have 34 findings.
But when you try to reimport the same results with option
close_old_findings=true
, DD marks almost all findings as mitigated and you have 1 active and 33 mitigated.Steps to reproduce
Steps to reproduce the behavior:
SARIF
and uploadsemgrep.sarif
semgrep.sarif
Expected behavior
When you reimport the same file several times it should produce the same results as in the first import.
Deployment method (select with an
X
)Environment information
Sample scan files
I can't upload
.sarif
file, so just remove.json
from filenamesemgrep.sarif.json
Additional context
I managed to reproduce this bug on
demo.defectdojo.org
so you can find it hereAsync and sync import produce the same results.
The text was updated successfully, but these errors were encountered: