|
|||||||||
| 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 | |
|---|---|
static int |
CLEARED_SEVERITY
|
protected Date |
createTime
Creation time of event in database, cannot be null |
static int |
CRITICAL_SEVERITY
|
protected String |
cveEntry
|
protected 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 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. |
static int |
MAJOR_SEVERITY
|
static int |
MINOR_SEVERITY
|
protected Integer |
nodeId
Unique integer identifier for node, can be null |
protected 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 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 int |
severity
The Severity of event. |
static int |
WARNING_SEVERITY
|
| Constructor Summary | |
|---|---|
protected |
Vulnerability()
Only the VulnerabilityFactory should instantiate this
object. |
| Method Summary | |
|---|---|
Date |
getCreateTime()
|
String |
getCveEntry()
can be null |
String |
getDescription()
|
int |
getId()
|
String |
getIpAddress()
can be null |
Date |
getLastAttemptTime()
|
Date |
getLastScanTime()
|
String |
getLogMessage()
|
Integer |
getNodeId()
can be null |
String |
getNodeLabel()
can be null |
int |
getPluginId()
|
int |
getPluginSubId()
|
Integer |
getPort()
can be null |
String |
getProtocol()
can be null |
Date |
getResolvedTime()
can be null |
Integer |
getServiceId()
Can be null |
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 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 int 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()
public Date getCreateTime()
public Date getLastAttemptTime()
public Date getLastScanTime()
public Date getResolvedTime()
public boolean isResolved()
public int getSeverity()
public Integer getNodeId()
public String getNodeLabel()
public String getIpAddress()
public Integer getServiceId()
public String getServiceName()
public String getDescription()
public String getLogMessage()
public int getPluginId()
public int getPluginSubId()
public Integer getPort()
public String getProtocol()
public String getCveEntry()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||