Skip to content

Commit 61aa4aa

Browse files
committed
add Missing VEX status mappings for resolved_with_pedigree and false_positive
1 parent bb2dc32 commit 61aa4aa

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pkg/ingestor/parser/cyclonedx/parser_cyclonedx.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ var json = jsoniter.ConfigCompatibleWithStandardLibrary
4040
var zeroTime = time.Unix(0, 0).UTC()
4141

4242
var vexStatusMap = map[cdx.ImpactAnalysisState]model.VexStatus{
43-
cdx.IASResolved: model.VexStatusFixed,
44-
cdx.IASExploitable: model.VexStatusAffected,
45-
cdx.IASInTriage: model.VexStatusUnderInvestigation,
46-
cdx.IASNotAffected: model.VexStatusNotAffected,
43+
cdx.IASResolved: model.VexStatusFixed,
44+
cdx.IASExploitable: model.VexStatusAffected,
45+
cdx.IASInTriage: model.VexStatusUnderInvestigation,
46+
cdx.IASNotAffected: model.VexStatusNotAffected,
47+
cdx.IASResolvedWithPedigree: model.VexStatusFixed,
48+
cdx.IASFalsePositive: model.VexStatusNotAffected,
4749
}
4850

4951
var justificationsMap = map[cdx.ImpactAnalysisJustification]model.VexJustification{

0 commit comments

Comments
 (0)