drone-netsparker

module
v0.0.0-...-9f8de08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2020 License: GPL-3.0

README

Build Status

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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL