Skip to content

Commit 8aafba0

Browse files
committed
fix proxy
1 parent 2382939 commit 8aafba0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

rl-scanner-gitlab-include.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ job-reversinglabs-rl-scanner:
122122
RLSECURE_PROXY_USER=${RLSECURE_PROXY_USER//[\`\$><|;&]/}
123123
# a pass is more difficult as it can contain almost anything
124124
# in this case we can export it and forward it to docker via the environment
125-
export RLSECURE_PROXY_SERVER
126-
export RLSECURE_PROXY_PORT
127-
export RLSECURE_PROXY_USER
128-
export RLSECURE_PROXY_PASSWORD
125+
# export RLSECURE_PROXY_SERVER
126+
# export RLSECURE_PROXY_PORT
127+
# export RLSECURE_PROXY_USER
128+
# export RLSECURE_PROXY_PASSWORD
129129
}
130130
do_verbose()
131131
{
@@ -248,11 +248,13 @@ job-reversinglabs-rl-scanner:
248248
then
249249
RL_PACK_SAFE_STR="--pack-safe"
250250
fi
251+
set -x
251252
rl-scan ${RL_LEVEL_STR} \
252253
--package-path="./${PACKAGE_PATH}/${MY_ARTIFACT_TO_SCAN}" \
253254
--report-path="${REPORT_PATH}" \
254255
--report-format=all ${RL_PACK_SAFE_STR} 1>1 2>2
255256
RR=$?
257+
set +x
256258
}
257259
run_scan_withstore()
258260
{
@@ -261,6 +263,7 @@ job-reversinglabs-rl-scanner:
261263
then
262264
RL_PACK_SAFE_STR="--pack-safe"
263265
fi
266+
set -x
264267
rl-scan \
265268
--rl-store="${RL_STORE}" \
266269
--purl="${RL_PACKAGE_URL}" \
@@ -269,6 +272,7 @@ job-reversinglabs-rl-scanner:
269272
--report-path="${REPORT_PATH}" \
270273
--report-format=all ${RL_PACK_SAFE_STR} ${DIFF_WITH} 1>1 2>2
271274
RR=$?
275+
set +x
272276
}
273277
get_scan_result_or_fail()
274278
{

0 commit comments

Comments
 (0)