From b765985c59ab49bb9305971b8892b2cc77ee64d2 Mon Sep 17 00:00:00 2001 From: Mad Pete Guy Date: Sat, 2 Mar 2024 16:47:58 +0100 Subject: [PATCH] Fixed title/description error --- imgdata/scripts/trivy-json-to-junitxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgdata/scripts/trivy-json-to-junitxml.py b/imgdata/scripts/trivy-json-to-junitxml.py index 6b7c9ec..7837b14 100644 --- a/imgdata/scripts/trivy-json-to-junitxml.py +++ b/imgdata/scripts/trivy-json-to-junitxml.py @@ -74,7 +74,7 @@ def build_vuln(json_vuln, ts): tc = xml_testcase(ts, name, classname) title = 'Title' in json_vuln and json_vuln['Title'] or '' description = 'Description' in json_vuln and json_vuln['Description'] or '' - build_testcase_content(tc, severity, description, title) + build_testcase_content(tc, severity, title, description) def build_secret(json_secret, ts):