From f866c094c9870e2d0ccff9b4132301d43cbe04eb Mon Sep 17 00:00:00 2001 From: Jaekwon Bang Date: Mon, 21 Jul 2025 12:47:31 +0900 Subject: [PATCH] Exclude cases with only oss_ver in jar analysis --- src/fosslight_binary/_jar_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fosslight_binary/_jar_analysis.py b/src/fosslight_binary/_jar_analysis.py index ecaaa3c..41c7c4e 100644 --- a/src/fosslight_binary/_jar_analysis.py +++ b/src/fosslight_binary/_jar_analysis.py @@ -259,7 +259,7 @@ def analyze_jar_file(path_to_find_bin, path_to_exclude): # Get Vulnerability Info. vulnerability_items = get_vulnerability_info(file_with_path, vulnerability, vulnerability_items, remove_vulnerability_items) - if oss_name != "" or oss_ver != "" or oss_license != "" or oss_dl_url != "": + if oss_name or oss_license or oss_dl_url: oss_list_for_file = owasp_items.get(file_with_path, []) existing_oss = None