Replies: 2 comments 2 replies
-
|
The Anchore Grype parser has an internal deduplication which you cannot influence via settings: And I think a PR that adds |
Beta Was this translation helpful? Give feedback.
-
|
I have not yet added The problem for existing users: Right now, existing DefectDojo installations have Grype findings stored with a hash_code computed without
The fix would be to manually recompute hashes after upgrading: docker compose exec uwsgi python manage.py dedupe --parser "Anchore Grype" --hash_code_onlyQuestions: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I'm migrating from Anchore Engine to Anchore Grype for vulnerability scanning and encountering an issue with finding counts in DefectDojo. Both scanners produce reports with identical vulnerabilities, but DefectDojo creates significantly fewer findings when importing Grype reports compared to Anchore Engine reports.
Environment Details
DefectDojo Version: v2.53.0
Scanner Migration: Anchore Engine → Grype
Report Format: JSON
Import Method: API upload
What I've Tried

Deduplication Settings: Modified settings_dict.py to include
file_pathin Grype deduplication configuration, but I am still unable to get the accurate count of findings in DefectDojo.Defectdojo UI count

Grype report used for testing (201 issues in report):
grype_registry.k8s.io__etcd--3.6.4-0.json
Question
What specific logic can I add to the defectdojo Grype parser or configuration to ensure I get the accurate count?
Beta Was this translation helpful? Give feedback.
All reactions