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