From 82c24eee5a1f230e15d1cde17489fb8e7c5bee91 Mon Sep 17 00:00:00 2001 From: "stonezdj(Daojun Zhang)" Date: Wed, 11 Oct 2023 11:14:02 +0800 Subject: [PATCH] (cherry-pick) Change fixed_version to package_version (#19432) Change fixed_version to package_version fixes #19391 Signed-off-by: stonezdj --- src/pkg/securityhub/dao/security.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/securityhub/dao/security.go b/src/pkg/securityhub/dao/security.go index f65720b694e..f3dded04e7c 100644 --- a/src/pkg/securityhub/dao/security.go +++ b/src/pkg/securityhub/dao/security.go @@ -66,7 +66,7 @@ WHERE EXISTS (SELECT 1 vr.package, vr.cvss_score_v3, vr.description, - vr.fixed_version, + vr.package_version, vr.severity, CASE vr.severity WHEN 'Critical' THEN 5