Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
pna-nca committed May 6, 2024
1 parent 80dbcea commit 01632f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dojo/tools/neuvector_compliance/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@ def get_asset_item(comp_issue, test):

tags = comp_issue.get("tags", [])
if len(tags) > 0:
full_description += "<p>Tags:</p>"
for t in tags:
full_description += "<p>{}</p>".format(str(t).rstrip())
full_description += "<p>Applicable compliance standards: {tags}</p>".format(tags=','.join(sorted(set(tags), key=str)))

messages = comp_issue.get("message", [])
if len(messages) > 0:
Expand Down

0 comments on commit 01632f8

Please sign in to comment.