diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d5fd0a0406e96939c91b96bfab11a619adef2cf2..fc4459fbe61fb96282ef61d3048a7df4303fdf34 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,8 +19,8 @@ test: - docker network create test-genscan - docker run --rm -d --network=test-genscan --name dvwa vulnerables/web-dvwa - cp "${CI_PROJECT_DIR}/config-example.json" /tmp - # - docker run --rm --network=test-genscan -v /tmp/config-example.json:/root/config.json:ro -v /tmp/:/root/out registry-gitlab.xlab.si/cyberwiser/$SERVICE:$VERSION - docker run --rm --network=test-genscan -e TARGET="http://dvwa/" -v /tmp/:/root/out registry-gitlab.xlab.si/cyberwiser/$SERVICE:$VERSION + - cat /tmp/cscan-log.txt - grep -q "W3af" /tmp/genscan-out.json - grep -q "OWASP ZAP" /tmp/genscan-out.json after_script: