Skip to content

Commit d7c17b9

Browse files
CM-52091 - Fix first patched version display in SCA rich output (#340)
1 parent 5457fd1 commit d7c17b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cycode/cli/printers/rich_printer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __add_sca_scan_related_rows(details_table: Table, detection: 'Detection') ->
9191
details_table.add_row('Version', detection_details.get('package_version'))
9292

9393
if detection.has_alert:
94-
patched_version = detection_details['alert'].get('patched_version')
94+
patched_version = detection_details['alert'].get('first_patched_version')
9595
details_table.add_row('First patched version', patched_version or 'Not fixed')
9696

9797
dependency_path = detection_details.get('dependency_paths')

0 commit comments

Comments
 (0)