Skip to content

Commit

Permalink
Merge pull request #15 from madpeteguy/bugfix/titledesc
Browse files Browse the repository at this point in the history
Fixed title/description error
  • Loading branch information
madpeteguy authored Mar 2, 2024
2 parents 71ba61c + b765985 commit 8da4eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgdata/scripts/trivy-json-to-junitxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8da4eb2

Please sign in to comment.