forked from zaproxy/zaproxy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-2.7.0' into master
- Loading branch information
Showing
512 changed files
with
34,100 additions
and
8,993 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 |
---|---|---|
|
@@ -13,3 +13,6 @@ out/ | |
|
||
# Node | ||
node_modules/ | ||
|
||
# ZAP | ||
src/plugin/ |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
language: java | ||
script: ant -buildfile build/build.xml test | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
env: | ||
global: | ||
# COVERITY_SCAN_TOKEN | ||
|
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
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
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 |
---|---|---|
|
@@ -4,3 +4,5 @@ zap | |
ZAP*.dmg | ||
ZAP*.tar.gz | ||
zap*.deb | ||
# Used for dmg and installer | ||
zap-mac |
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
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
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,9 @@ | ||
#!/usr/bin/env xdg-open | ||
[Desktop Entry] | ||
Version=1.0 | ||
Type=Application | ||
Terminal=false | ||
TryExec=/usr/bin/zap | ||
Exec=/usr/bin/zap | ||
Name=OWASP ZAP | ||
Icon=/usr/share/icons/zapicon.png |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,37 @@ | ||
# This dockerfile builds the zap stable release | ||
FROM alpine as builder | ||
|
||
WORKDIR /zap | ||
|
||
RUN apk add --no-cache curl wget xmlstarlet unzip | ||
|
||
# Download and expand the latest stable release | ||
RUN curl -s https://raw.githubusercontent.com/zaproxy/zap-admin/master/ZapVersions.xml | xmlstarlet sel -t -v //url |grep -i Linux | wget --content-disposition -i - -O - | tar zxv && \ | ||
mv ZAP*/* . && \ | ||
rm -R ZAP* | ||
|
||
FROM openjdk:8-jdk-alpine | ||
LABEL maintainer="psiinon@gmail.com" | ||
|
||
WORKDIR /zap | ||
COPY --from=builder /zap . | ||
COPY policies /home/zap/.ZAP/policies/ | ||
|
||
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories &&\ | ||
apk add --update --no-cache bash netcat-openbsd && \ | ||
adduser -h /home/zap -s /bin/bash zap -D zap && \ | ||
rm -rf /var/cache/apk/* && \ | ||
chown zap /zap && \ | ||
chgrp zap /zap && \ | ||
chown -R zap:zap /zap && \ | ||
chown -R zap:zap /home/zap/.ZAP/ | ||
|
||
#Change to the zap user so things get done as the right person (apart from copy) | ||
USER zap | ||
|
||
ENV PATH $JAVA_HOME/bin:/zap/:$PATH | ||
ENV ZAP_PATH /zap/zap.sh | ||
ENV HOME /home/zap/ | ||
ENV ZAP_PORT 8080 | ||
|
||
HEALTHCHECK --retries=15 --interval=5s CMD nc -vz 127.0.0.1 $ZAP_PORT |
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
Oops, something went wrong.