@@ -36,6 +36,10 @@ def _build_common_output(node, lib_name=None):
3636 component_name = None
3737 component_version = None
3838 impact = None
39+ kev_date = None
40+ ransomware_used = None
41+ known_exploited = None
42+ component_path = None
3943 description = "No Description Available"
4044 cvss3_score = None
4145 mitigation = "N/A"
@@ -64,6 +68,9 @@ def _build_common_output(node, lib_name=None):
6468 + "\n "
6569 )
6670 cvss3_score = node ["vulnerability" ].get ("score" , None )
71+ kev_date = node ["vulnerability" ].get ("publishDate" , None )
72+ ransomware_used = node .get ("malicious" , None )
73+ known_exploited = node .get ("exploitable" , None )
6774 component_path = node ["component" ].get ("path" , None )
6875 if component_path :
6976 locations .append (component_path )
@@ -195,6 +202,9 @@ def _build_common_output(node, lib_name=None):
195202 cvssv3_score = float (cvss3_score ) if cvss3_score is not None else None ,
196203 impact = impact if impact is not None else None ,
197204 steps_to_reproduce = "**Locations Found**: " + ", " .join (locations ) if locations is not None else None ,
205+ kev_date = kev_date if kev_date is not None else None ,
206+ known_exploited = known_exploited if known_exploited is not None else None ,
207+ ransomware_used = ransomware_used if ransomware_used is not None else None ,
198208 )
199209 if cve :
200210 new_finding .unsaved_vulnerability_ids = [cve ]
0 commit comments