Skip to content

Add "has fix" filter for CVE finding #12633

Closed

Description

@tienmtran

⚠️ Note on feature completeness ⚠️

We are narrowing the scope of acceptable enhancements to DefectDojo. Learn more here:
https://github.com/DefectDojo/django-DefectDojo/blob/master/readme-docs/CONTRIBUTING.md

Is your feature request related to a problem? Please describe
No

Describe the solution you'd like
I would like to have the "has fix" in filter or parser to quick check for which CVEs fix available. Some CVE scanner allow to ignore cve which dont have fix yet in their output result but I want to have full visibility of that. I prefer DD can filter out for that case.

Additional context
I use trivy to scan container and upload it to DD

Activity

  1. valentijnscholten commented on Jun 19, 2025

    @valentijnscholten
    Member

    Do you have more examples of which parsers/scanners provide a fixable flag? I have found:

    • Trivy
    • Aqua
  2. tienmtran commented on Jun 20, 2025

    @tienmtran
    Author

    I see grype, blackduck, jfrog,... also.
    It's not really fixable flag in input. But when parsing for mitigation field this could be none
    So if we can do at filter level or at parser level to add a tag for the fixable information

  3. manuel-sommer commented on Jun 20, 2025

    @manuel-sommer
    Contributor

    Also Harbor has a fixable information:
    https://github.com/DefectDojo/django-DefectDojo/blob/master/unittests/scans/harbor_vulnerability/harbor-5-vuln.json
    Maybe also RedHatSatellite in the "installable" field.
    I could help make a PR if this feature would be merged. What are your thoughts @valentijnscholten ?

  4. tienmtran commented on Jul 7, 2025

    @tienmtran
    Author

    Hi, any update? Would we able to add this into Dojo's feature?

  5. manuel-sommer commented on Jul 7, 2025

    @manuel-sommer
    Contributor

    Do we want to add this feature @valentijnscholten and @mtesauro ?

  6. Kasyap7 commented on Jul 10, 2025

    @Kasyap7
    Contributor

    I am using Anchore Engine scan reports, and it would be helpful to include a has_fix tag in these reports as well.

    • If the Mitigation field specifies an actionable fix (e.g., “Upgrade to package xyz”), the has_fix tag should be added.
    • If the Mitigation field states “Upgrade to package none” or simply “None,” the has_fix tag should not be included, as no fix is available.

    This enhancement would make it easier to filter findings based on fix availability.

  7. manuel-sommer commented on Aug 4, 2025

    @manuel-sommer
    Contributor

    How to proceed here? Do we want to add an "update findings functionality" in the reimport or add fix_available to the deduplication setting?

  8. valentijnscholten commented on Aug 4, 2025

    @valentijnscholten
    Member

    Do we want to add an "update findings functionality" in the reimport

    This.

  9. manuel-sommer commented on Aug 26, 2025

    @manuel-sommer
    Contributor

    I am using Anchore Engine scan reports, and it would be helpful to include a has_fix tag in these reports as well.

    * If the Mitigation field specifies an actionable fix (e.g., “Upgrade to package xyz”), the has_fix tag should be added.
    
    * If the Mitigation field states “Upgrade to package none” or simply “None,” the has_fix tag should not be included, as no fix is available.
    

    This enhancement would make it easier to filter findings based on fix availability.

    #13060

  10. manuel-sommer commented on Aug 26, 2025

    @manuel-sommer
    Contributor

    Also Harbor has a fixable information: https://github.com/DefectDojo/django-DefectDojo/blob/master/unittests/scans/harbor_vulnerability/harbor-5-vuln.json Maybe also RedHatSatellite in the "installable" field. I could help make a PR if this feature would be merged. What are your thoughts @valentijnscholten ?

    #13059
    #13053

  11. 18 remaining items

  12. manuel-sommer commented on Sep 22, 2025

    @manuel-sommer
    Contributor

    I guess we can close this Issue @mtesauro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions