From 2694ffe0224d85121ea0eaadda64464a0f6f3ff5 Mon Sep 17 00:00:00 2001 From: Ruud Senden <8635138+rsenden@users.noreply.github.com> Date: Thu, 9 Mar 2023 10:48:35 +0100 Subject: [PATCH] fix: `fcli ssc appversion-artifact download`: Include externalmetadata.xml in current state FPR download by passing arbitrary clientVersion parameter to SSC (fixes #257) --- fcli-ssc/src/main/java/com/fortify/cli/ssc/rest/SSCUrls.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcli-ssc/src/main/java/com/fortify/cli/ssc/rest/SSCUrls.java b/fcli-ssc/src/main/java/com/fortify/cli/ssc/rest/SSCUrls.java index 195f953012..005282fb01 100644 --- a/fcli-ssc/src/main/java/com/fortify/cli/ssc/rest/SSCUrls.java +++ b/fcli-ssc/src/main/java/com/fortify/cli/ssc/rest/SSCUrls.java @@ -489,7 +489,7 @@ public static String DOWNLOAD_PROJECT_TEMPLATE(String projectTemplateId) { } public static String DOWNLOAD_CURRENT_FPR(String applicationVersionId, boolean includeSource) { - return String.format("/download/currentStateFprDownload.html?mat={downloadToken}&id=%s&includeSource=%b", applicationVersionId, includeSource); + return String.format("/download/currentStateFprDownload.html?mat={downloadToken}&id=%s&includeSource=%b&clientVersion=16.10", applicationVersionId, includeSource); } public static String DOWNLOAD_CLOUDSCAN_FPR(String jobToken) {