diff --git a/spring-petclinic.yml b/spring-petclinic.yml index d79190c4b..3a61a2591 100644 --- a/spring-petclinic.yml +++ b/spring-petclinic.yml @@ -1,3 +1,5 @@ +version: '3' + services: petclinic: build: @@ -33,9 +35,19 @@ services: depends_on: - prometheus + zap: + image: ghcr.io/zaproxy/zaproxy:stable + command: zap-baseline.py -t http://petclinic:8080 -g gen.conf -r zap-report.html + volumes: + - ./zap-report:/zap/wrk:rw + networks: + - custom-network + depends_on: + - petclinic + volumes: prometheus_data: grafana_data: networks: - custom-network: \ No newline at end of file + custom-network: diff --git a/zap-report/zap-report.html b/zap-report/zap-report.html index 0fab1f74a..06a20f09c 100644 --- a/zap-report/zap-report.html +++ b/zap-report/zap-report.html @@ -122,12 +122,12 @@ td {