From 29b45fd9c34e7122709b71f5679b448d6dddd1e0 Mon Sep 17 00:00:00 2001 From: amitmoskovitz Date: Thu, 4 Sep 2025 11:40:24 +0300 Subject: [PATCH] CM-52091 Fix patched version variable name --- cycode/cli/printers/rich_printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cycode/cli/printers/rich_printer.py b/cycode/cli/printers/rich_printer.py index 7ee0f853..10cf561c 100644 --- a/cycode/cli/printers/rich_printer.py +++ b/cycode/cli/printers/rich_printer.py @@ -91,7 +91,7 @@ def __add_sca_scan_related_rows(details_table: Table, detection: 'Detection') -> details_table.add_row('Version', detection_details.get('package_version')) if detection.has_alert: - patched_version = detection_details['alert'].get('patched_version') + patched_version = detection_details['alert'].get('first_patched_version') details_table.add_row('First patched version', patched_version or 'Not fixed') dependency_path = detection_details.get('dependency_paths')