
drone-netsparker
Drone plugin to initiate scans with Netsparker
Build
Build the binary with the following command:
export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
export GO111MODULE=on
go build -a -tags netgo -o release/linux/amd64/drone-netsparker ./cmd/drone-netsparker
Docker
Build the Docker image with the following command:
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.linux.amd64 --tag jdamata/drone-netsparker .
Usage
docker run --rm \
-e PLUGIN_OPTION1=<OPTION1> \
-e PLUGIN_OPTION2=<OPTION2> \
jdamata/drone-netsparker
Drone Pipeline Usage
- name: scan site
image: jdamata/drone-netsparker
settings:
option1: Option1