StartZapStep
@DataBoundConstructor
public StartZapStep(@CheckForNull
String host,
int port,
int timeout,
String zapHome,
List<String> allowedHosts,
String sessionPath)
Called with startZap() in jenkinsfile
- Parameters:
host - The host to run ZAP on - default localhost
port - The port to run ZAP on - default 9092
timeout - The amount of seconds to let the ZAP attack run for before it quits - default 1000
zapHome - Where the zap process is located - if not set this will not start ZAP (but still make calls if you're running
it locally)
allowedHosts - The hosts to allow scans to begin on, if none are specified then it will run the attack locally only
sessionPath - Optional path to the session file