diff --git a/backend/worker/pe-worker-entry.sh b/backend/worker/pe-worker-entry.sh index 9b7a524c..10c60b5e 100755 --- a/backend/worker/pe-worker-entry.sh +++ b/backend/worker/pe-worker-entry.sh @@ -65,7 +65,8 @@ while true; do elif [[ "$SERVICE_TYPE" = *"asmSync"* ]]; then COMMAND="pe-asm-sync asm-sqs --org='$ORG'" elif [[ "$SERVICE_TYPE" = *"qualys"* ]]; then - COMMAND="pe-source was-findings-sync --org='$ORG'" + COMMAND="pe-source was-report-pull --org='$ORG' && pe-source was-findings-sync --org='$ORG'" + else echo "Unsupported SERVICE_TYPE: $SERVICE_TYPE" break