| Modifier and Type | Class and Description |
|---|---|
static class |
ZAProxy.ZAProxyDescriptorImpl
Descriptor for
ZAProxy. |
| Modifier and Type | Field and Description |
|---|---|
static String |
CMD_LINE_CONFIG |
static String |
CMD_LINE_DAEMON |
static String |
CMD_LINE_DIR |
static String |
CMD_LINE_HOST |
static String |
CMD_LINE_PORT |
| Constructor and Description |
|---|
ZAProxy(boolean autoInstall,
String toolUsed,
String zapHome,
int timeoutInSec,
String filenameLoadSession,
String targetURL,
boolean spiderURL,
boolean scanURL,
boolean saveReports,
List<String> chosenFormats,
String filenameReports,
boolean saveSession,
String filenameSaveSession,
String zapDefaultDir,
String chosenPolicy,
List<ZAPcmdLine> cmdLinesZAP) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Execute ZAProxy method following build's setup.
|
boolean |
getAutoInstall() |
List<String> |
getChosenFormats() |
String |
getChosenPolicy() |
List<ZAPcmdLine> |
getCmdLinesZAP() |
ZAProxy.ZAProxyDescriptorImpl |
getDescriptor() |
String |
getFilenameLoadSession() |
String |
getFilenameReports() |
String |
getFilenameSaveSession() |
boolean |
getSaveReports() |
boolean |
getSaveSession() |
boolean |
getScanURL() |
boolean |
getSpiderURL() |
String |
getTargetURL() |
int |
getTimeoutInSec() |
String |
getToolUsed() |
String |
getZapDefaultDir() |
String |
getZapHome() |
void |
setZapProxyHost(String zapProxyHost) |
void |
setZapProxyPort(int zapProxyPort) |
void |
startZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Start ZAProxy using command line.
|
void |
stopZAP(hudson.model.BuildListener listener)
Stop ZAproxy if it has been previously started.
|
String |
toString() |
public static final String CMD_LINE_DIR
public static final String CMD_LINE_CONFIG
public static final String CMD_LINE_HOST
public static final String CMD_LINE_PORT
public static final String CMD_LINE_DAEMON
@DataBoundConstructor
public ZAProxy(boolean autoInstall,
String toolUsed,
String zapHome,
int timeoutInSec,
String filenameLoadSession,
String targetURL,
boolean spiderURL,
boolean scanURL,
boolean saveReports,
List<String> chosenFormats,
String filenameReports,
boolean saveSession,
String filenameSaveSession,
String zapDefaultDir,
String chosenPolicy,
List<ZAPcmdLine> cmdLinesZAP)
public ZAProxy.ZAProxyDescriptorImpl getDescriptor()
public boolean getAutoInstall()
public String getToolUsed()
public String getZapHome()
public int getTimeoutInSec()
public String getFilenameLoadSession()
public String getTargetURL()
public boolean getSpiderURL()
public boolean getScanURL()
public boolean getSaveReports()
public String getFilenameReports()
public boolean getSaveSession()
public String getFilenameSaveSession()
public String getZapDefaultDir()
public String getChosenPolicy()
public void setZapProxyHost(String zapProxyHost)
public void setZapProxyPort(int zapProxyPort)
public List<ZAPcmdLine> getCmdLinesZAP()
public void startZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws Exception
build - listener - the listener to display log during the job execution in jenkinsExceptionpublic void executeZAP(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws Exception
build - listener - the listener to display log during the job execution in jenkinsExceptionpublic void stopZAP(hudson.model.BuildListener listener)
listener - the listener to display log during the job execution in jenkinsCopyright © 2004-2015. All Rights Reserved.