From abe0550be83941492adfccaa9e57f7f3b055d0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 12 Jun 2024 13:22:28 +0200 Subject: [PATCH] Audit: Add target file in path --- github_app_geo_project/module/audit/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_app_geo_project/module/audit/utils.py b/github_app_geo_project/module/audit/utils.py index 670ac70adaf..15c63e78777 100644 --- a/github_app_geo_project/module/audit/utils.py +++ b/github_app_geo_project/module/audit/utils.py @@ -341,7 +341,7 @@ async def snyk( "
\n".join( [ f'{vuln["title"]}', - " > ".join(vuln["from"]), + " > ".join([row.get("displayTargetFile", "-"), *vuln["from"]]), *[", ".join(identifiers) for identifiers in vuln.get("identifiers", {}).values()], # *[f'' for reference in vuln["references"]], # "",