Trivy

JSON report of trivy scanner.

The status field in Trivy is mapped to the Defect Dojo status flags in the following way:

Trivy StatusActiveVerifiedMitigatedRemarks
unknownTrueFalseFalseuse default value for active which is usually True
not_affectedFalseTrueTruefalse positive is the most appropriate status for not affected as out of scope might be interpreted as something else
affectedTrueTrueFalsestandard case
fixedTrueTrueFalsefixed in this context means that there is a fix available by patching/updating/upgrading the package but it’s still active and verified
under_investigationTrueFalseFalseno status flag in Defect Dojo to capture this, but verified is False
will_not_fixTrueTrueFalseno different from affected as Defect Dojo doesn’t have a flag to capture will_not_fix by OS/Package Vendor; we can’t set active to False as the user needs to risk accept this finding
fix_deferredTrueTrueFalseno different from affected as Defect Dojo doesn’t have a flag to capture will_not_fix by OS/Package Vendor; we can’t set active to False as the user needs to (temporarily) risk accept this finding
end_of_lifeTrueTrueFalseno different from affected as Defect Dojo doesn’t have a flag to capture will_not_fix by OS/Package Vendor; we can’t set active to False as the user needs to (temporarily) risk accept

The status field contains the status as assigned by the OS/Package vendor such as Red Hat, Debian, etc. It is recommended to assess the appropriate action in your Product’s context. If you want to exclude certain status from being imported into Defect Dojo, please filter them in the export from Trivy

Sample Scan Data

Sample Trivy scans can be found here