|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.vulnerability.Vulnerability
public class Vulnerability
A JavaBean implementation to hold information about a security vulnerability as defined by OpenNMS.
| Field Summary | |
|---|---|
protected Date |
createTime
Creation time of event in database, cannot be null |
protected String |
cveEntry
|
protected String |
description
Free-form textual description of the event |
protected int |
id
Unique identifier for the event, cannot be null |
protected String |
ipAddr
IP Address of node's interface |
protected Date |
lastAttemptTime
Last time the vulnerability scan was attempted, cannot be null |
protected Date |
lastScanTime
Last time the vulnerability was scanned, cannot be null |
protected String |
logMessage
Formatted display text to control how the event will appear in the browser. |
protected Integer |
nodeId
Unique integer identifier for node, can be null |
protected String |
nodeLabel
The human-readable name of the node of this event. |
protected int |
pluginId
Unique integer identifier of the plugin that generated this vulnerability. |
protected int |
pluginSubId
Specific vulnerability type generated by the plugin. |
protected Integer |
port
Port that the vulnerability affects. |
protected String |
protocol
Network protocol of the attack (TCP, UDP, ICMP) |
protected Date |
resolvedTime
Time the vulnerability was resolved, can be null |
protected Integer |
serviceId
Unique integer identifier of service/poller package, can be null |
protected String |
serviceName
Human-readable name of the service |
protected OnmsSeverity |
severity
The Severity of event. |
| Constructor Summary | |
|---|---|
protected |
Vulnerability()
Only the VulnerabilityFactory should instantiate this
object. |
| Method Summary | |
|---|---|
Date |
getCreateTime()
Getter for the field createTime. |
String |
getCveEntry()
can be null |
String |
getDescription()
Getter for the field description. |
int |
getId()
Getter for the field id. |
String |
getIpAddress()
can be null |
Date |
getLastAttemptTime()
Getter for the field lastAttemptTime. |
Date |
getLastScanTime()
Getter for the field lastScanTime. |
String |
getLogMessage()
Getter for the field logMessage. |
Integer |
getNodeId()
can be null |
String |
getNodeLabel()
can be null |
int |
getPluginId()
Getter for the field pluginId. |
int |
getPluginSubId()
Getter for the field pluginSubId. |
Integer |
getPort()
can be null |
String |
getProtocol()
can be null |
Date |
getResolvedTime()
can be null |
Integer |
getServiceId()
Can be null |
String |
getServiceName()
Getter for the field serviceName. |
OnmsSeverity |
getSeverity()
Getter for the field severity. |
boolean |
isResolved()
isResolved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int id
protected Integer nodeId
protected String ipAddr
protected Integer serviceId
protected String serviceName
protected Date createTime
protected Date lastAttemptTime
protected Date lastScanTime
protected Date resolvedTime
protected String description
protected String logMessage
protected OnmsSeverity severity
1 = Indeterminate 2 = Cleared (unimplemented at this time) 3 = Warning 4 = Minor 5 = Major 6 = Critical
protected String nodeLabel
protected int pluginId
protected int pluginSubId
protected Integer port
protected String protocol
protected String cveEntry
| Constructor Detail |
|---|
protected Vulnerability()
VulnerabilityFactory should instantiate this
object.
| Method Detail |
|---|
public int getId()
Getter for the field id.
public Date getCreateTime()
Getter for the field createTime.
Date object.public Date getLastAttemptTime()
Getter for the field lastAttemptTime.
Date object.public Date getLastScanTime()
Getter for the field lastScanTime.
Date object.public Date getResolvedTime()
Date object.public boolean isResolved()
isResolved
public OnmsSeverity getSeverity()
Getter for the field severity.
OnmsSeverity object.public Integer getNodeId()
Integer object.public String getNodeLabel()
String object.public String getIpAddress()
String object.public Integer getServiceId()
Integer object.public String getServiceName()
Getter for the field serviceName.
String object.public String getDescription()
Getter for the field description.
String object.public String getLogMessage()
Getter for the field logMessage.
String object.public int getPluginId()
Getter for the field pluginId.
public int getPluginSubId()
Getter for the field pluginSubId.
public Integer getPort()
Integer object.public String getProtocol()
String object.public String getCveEntry()
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||