public class ArchiveZapStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ArchiveZapStep.DescriptorImpl |
| Constructor and Description |
|---|
ArchiveZapStep(Integer failAllAlerts,
Integer failHighAlerts,
Integer failMediumAlerts,
Integer failLowAlerts,
String falsePositivesFilePath)
Analyse the zap attack and generate the zap report
|
| Modifier and Type | Method and Description |
|---|---|
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
@DataBoundConstructor public ArchiveZapStep(Integer failAllAlerts, Integer failHighAlerts, Integer failMediumAlerts, Integer failLowAlerts, String falsePositivesFilePath)
failAllAlerts - Fail the run if there is x or more of any type of alert - default 0 (disabled)failHighAlerts - Fail the run when there is x or more of HIGH risk alerts - default 1failMediumAlerts - Fail the run when there is x or more of MEDIUM risk alerts - default 0 (disabled)failLowAlerts - Fail the run when there is more x or more LOW risk alerts - default 0 (disabled)falsePositivesFilePath - File name and path (relative to workspace) to the falsePositives config file - default
"zapfalsePositives.json"public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
throws IOException,
InterruptedException
start in class org.jenkinsci.plugins.workflow.steps.StepIOExceptionInterruptedExceptionCopyright © 2016–2018. All rights reserved.