Commit a3404662 authored by FulcrandG's avatar FulcrandG
Browse files

zaproxy job with zap-cli without report

parent 9aec7cc4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -17,18 +17,21 @@ zaproxy:
    -       zap-cli -p ${ZAP_PORT} quick-scan -s ${ZAP_SCANNERS} --context-name ${ZAP_CONTEXT} --start-options '-config api.disablekey=true' ${ZAP_TARGET}
    -     else
    -       zap-cli quick-scan -s ${ZAP_SCANNERS} --context-name ${ZAP_CONTEXT} --start-options '-config api.disablekey=true' ${ZAP_TARGET}
    -     fi
    -   else
    -     if [ ! -z ${ZAP_PORT} ]; then
    -       zap-cli -p ${ZAP_PORT} quick-scan --context-name ${ZAP_CONTEXT} --start-options '-config api.disablekey=true' ${ZAP_TARGET}
    -     else
    -       zap-cli quick-scan --context-name ${ZAP_CONTEXT} --start-options '-config api.disablekey=true' ${ZAP_TARGET}
    -     fi
    -   fi
    - else
    -   if [ ! -z ${ZAP_SCANNERS}]; then
    -     if [ ! -z ${ZAP_PORT} ]; then
    -       zap-cli -p ${ZAP_PORT} quick-scan -s $ {ZAP_SCANNERS} --start-options '-config api.disablekey=true' ${ZAP_TARGET} 
    -     else
    -       zap-cli quick-scan -s $ {ZAP_SCANNERS} --start-options '-config api.disablekey=true' ${ZAP_TARGET} 
    -     fi
    -   else
    -     if [ ! -z ${ZAP_PORT} ]; then
    -       zap-cli -p ${ZAP_PORT} quick-scan --start-options '-config api.disablekey=true' ${ZAP_TARGET}
@@ -36,3 +39,4 @@ zaproxy:
    -       zap-cli quick-scan --start-options '-config api.disablekey=true' ${ZAP_TARGET}
    -     fi
    -   fi
    - fi
 No newline at end of file