-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding some scaffolding and non-functional POC.
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM owasp/zap2docker-stable:latest | ||
|
||
# Copy in default tests | ||
COPY tests /zap/wrk | ||
|
||
CMD ["zap-baseline.py", "-d", "-r", "zap.html", "-t", "http://web"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: "3" | ||
|
||
# Base image test, used by Docker Hub. | ||
services: | ||
web: | ||
image: drydockcloud/tools-ci-web:latest | ||
|
||
sut: | ||
build: . | ||
command: autotest | ||
depends_on: | ||
- web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: "3" | ||
|
||
services: | ||
# Example docker-compose service for zap: | ||
zap: | ||
image: drydockcloud/ci-zap:latest | ||
command: autotest | ||
depends_on: | ||
- web | ||
volumes: | ||
- ./results:/results |