Commit 242c6443 authored by FulcrandG's avatar FulcrandG
Browse files

Using zap-full-scan.py instead of zap-cli

parent 3e8e502a
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -10,17 +10,16 @@ zaproxy:
      ZAP_TARGET: "http://app"
    script:
      - if [ ! -z ${ZAP_CONTEXT} ]; then
      -   zap-cli context import ${ZAP_CONTEXT}
      -   if [ ! -z ${ZAP_OPTIONS}]; then
      -     python zap-full-scan.py -n ${ZAP_CONTEXT} -z ${ZAP_OPTIONS} -t ${ZAP_TARGET} -r zap-report.html
      -     python zap/zap-full-scan.py -n ${ZAP_CONTEXT} -z ${ZAP_OPTIONS} -t ${ZAP_TARGET} -r zap-report.html
      -   else
      -     python zap-full-scan.py -n ${ZAP_CONTEXT} -t ${ZAP_TARGET} -r zap-report.html
      -     python zap/zap-full-scan.py -n ${ZAP_CONTEXT} -t ${ZAP_TARGET} -r zap-report.html
      -   fi
      - else
      -   if [ ! -z ${ZAP_OPTIONS}]; then
      -     python zap-full-scan.py -z ${ZAP_OPTIONS} -t ${ZAP_TARGET} -r zap-report.html
      -     python zap/zap-full-scan.py -z ${ZAP_OPTIONS} -t ${ZAP_TARGET} -r zap-report.html
      -   else
      -     python zap-full-scan.py -t ${ZAP_TARGET} -r zap-report.html
      -     python zap/zap-full-scan.py -t ${ZAP_TARGET} -r zap-report.html
      -   fi
      - fi
    artifacts: