From 285e1276ba7503def48a6ae762e18c298247a69b Mon Sep 17 00:00:00 2001
From: Lukasz Lopatowski <llopat@man.poznan.pl>
Date: Tue, 30 Aug 2022 12:04:55 +0200
Subject: [PATCH] Added userKey argument for the WS scan script execution

---
 ws/run_ws.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ws/run_ws.sh b/ws/run_ws.sh
index da075f9f..8763a587 100644
--- a/ws/run_ws.sh
+++ b/ws/run_ws.sh
@@ -4,4 +4,4 @@ echo "Downloading WhiteSource agent..."
 curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
 
 echo "Running WhiteSource scan..."
-java -jar wss-unified-agent.jar -apiKey ${API_KEY} -projectVersion ${PROJECT_VERSION} -projectToken ${PROJECT_TOKEN} -productVersion ${PRODUCT_VERSION} -productToken ${PRODUCT_TOKEN} -c ws.config -d ../
\ No newline at end of file
+java -jar wss-unified-agent.jar -userKey ${USER_KEY} -apiKey ${API_KEY} -projectVersion ${PROJECT_VERSION} -projectToken ${PROJECT_TOKEN} -productVersion ${PRODUCT_VERSION} -productToken ${PRODUCT_TOKEN} -c ws.config -d ../
\ No newline at end of file
-- 
GitLab