Package com.vrondakis.zap
Class ZapAlert
- java.lang.Object
-
- com.vrondakis.zap.ZapAlert
-
- All Implemented Interfaces:
Serializable
public class ZapAlert extends Object implements Serializable
Each ZAP report has a list of alerts, this is a class to hold a single alert. Used by gson library- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZapAlert()
-
Method Summary
Modifier and Type Method Description boolean
equals(Object object)
String
getAlert()
String
getConfidence()
String
getCweid()
List<ZapAlertInstance>
getFilteredOutFalsePositiveInstances(List<ZapFalsePositiveInstance> falsePositives)
List<ZapAlertInstance>
getInstances()
String
getName()
String
getPluginid()
String
getRiskcode()
String
getSourceid()
String
getWascid()
int
hashCode()
void
setAlert(String alert)
void
setConfidence(String confidence)
void
setCweid(String cweid)
void
setInstances(List<ZapAlertInstance> instances)
void
setName(String name)
void
setPluginid(String pluginid)
void
setRiskcode(String riskcode)
void
setSourceid(String sourceid)
void
setWascid(String wascid)
String
toString()
-
-
-
Method Detail
-
getPluginid
public String getPluginid()
-
setPluginid
public void setPluginid(String pluginid)
-
getAlert
public String getAlert()
-
setAlert
public void setAlert(String alert)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getRiskcode
public String getRiskcode()
-
setRiskcode
public void setRiskcode(String riskcode)
-
getConfidence
public String getConfidence()
-
setConfidence
public void setConfidence(String confidence)
-
getInstances
public List<ZapAlertInstance> getInstances()
-
getFilteredOutFalsePositiveInstances
public List<ZapAlertInstance> getFilteredOutFalsePositiveInstances(List<ZapFalsePositiveInstance> falsePositives)
-
setInstances
public void setInstances(List<ZapAlertInstance> instances)
-
getSourceid
public String getSourceid()
-
setSourceid
public void setSourceid(String sourceid)
-
getCweid
public String getCweid()
-
setCweid
public void setCweid(String cweid)
-
getWascid
public String getWascid()
-
setWascid
public void setWascid(String wascid)
-
-