cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type CleanOpts

type CleanOpts struct{}

func (*CleanOpts) Execute

func (c *CleanOpts) Execute(zapgo *docker.Docker)

type InitOpts

type InitOpts struct {
	NetworkOnly bool `short:"n" long:"networkOnly" description:"Create the zapgo-network without initializing the ZAP container."`
}

func (*InitOpts) Execute

func (i *InitOpts) Execute(zapgo *docker.Docker) string

type RunOpts

type RunOpts struct {
	File        string `` /* 148-byte string literal not displayed */
	Collection  string `long:"collection" description:"Postman collection file or url to run."`
	Environment string `long:"environment" description:"Postman environment file or url to use with postman collection"`
	Policy      string `long:"policy" description:"Import custom zap scan policy. Policy file must be placed within the current working directory."`
	Clean       bool   `short:"c" long:"clean" description:"Remove any existing zapgo containers and initialize ZAP."`
	Confidence  string `` /* 194-byte string literal not displayed */
	Risk        string `` /* 185-byte string literal not displayed */
	Fail        string `` /* 158-byte string literal not displayed */
	Display     string `` /* 132-byte string literal not displayed */
}

func (*RunOpts) Execute

func (r *RunOpts) Execute(zapgo *docker.Docker)

Jump to

Keyboard shortcuts

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