Skip to content

Commit 8e1551c

Browse files
committed
Add logging when we only wait for static scans
1 parent 0f6819c commit 8e1551c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ function run() {
270270
if (warn_on_severity) {
271271
console.log(`Warning on vulnerabilities with minimum severity: ${warn_on_severity}`);
272272
}
273+
if (wait_for_static_scan_only === 'true') {
274+
console.log('WAIT_FOR_STATIC_SCAN_ONLY is enabled: will wait for static_scan completion');
275+
}
273276
for (const scan of scan_info) {
274277
const { mobile_app_id, scan_id } = scan;
275278
var maxWaitTime = 300000; // 5 minutes

main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@ async function run() {
326326
);
327327
}
328328

329+
if (wait_for_static_scan_only === 'true') {
330+
console.log('WAIT_FOR_STATIC_SCAN_ONLY is enabled: will wait for static_scan completion');
331+
}
332+
329333
for (const scan of scan_info) {
330334
const { mobile_app_id, scan_id } = scan;
331335

0 commit comments

Comments
 (0)