Skip to content

Commit c3494e1

Browse files
committed
Move audit detail to top of finding description
1 parent f4e0606 commit c3494e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dojo/tools/dependency_track/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def _convert_dependency_track_finding_to_dojo_finding(self, dependency_track_fin
155155
is_false_positive = bool(analysis is not None and analysis.get("state") == "FALSE_POSITIVE")
156156

157157
if analysis is not None and analysis.get("detail"):
158-
vulnerability_description += f"\nAudit Detail: {analysis['detail']}"
158+
vulnerability_description = f"Audit Detail: {analysis['detail']}\n\n{vulnerability_description}"
159159

160160
# Get the EPSS details
161161
epss_percentile = dependency_track_finding["vulnerability"].get("epssPercentile", None)

0 commit comments

Comments
 (0)