Class PluginAttributes
java.lang.Object
tenapull.data.entity.template.ExtensibleJsonPojo
tenapull.data.entity.template.GeneratedIdPojo
tenapull.data.entity.template.HashLookupTemplate<PluginAttributes>
tenapull.data.entity.objectLookup.PluginAttributes
- All Implemented Interfaces:
java.lang.Comparable<PluginAttributes>
,DbPojo
,HashLookupPojo<PluginAttributes>
@Entity(name="PluginAttributes") public class PluginAttributes extends HashLookupTemplate<PluginAttributes>
Represents a reusable "object lookup", for a plugin_attributes object returned from the
Nessus API at /scans/<scan-id>
-
Field Summary
Fields Modifier and Type Field Description static HashLookupDao<PluginAttributes>
dao
The dao for PluginAttributes -
Constructor Summary
Constructors Constructor Description PluginAttributes()
-
Method Summary
Modifier and Type Method Description boolean
_match(PluginAttributes o)
Determine if this pojo represents the same DB record as another POJO of the same type.void
_prepare()
Perform any operations necessary to prepare this pojo for insertion or updating in the databasevoid
_set(PluginAttributes o)
Synchronize the values of two matching POJOs which represent the same DB recordboolean
equals(java.lang.Object o)
java.lang.String
getAgeOfVuln()
Gets age of vuln.java.lang.String
getCert()
Gets cert.java.lang.String
getCvssScoreSource()
Gets cvss score source.java.lang.String
getCvssV3ImpactScore()
Gets cvss v 3 impact score.java.lang.String
getDependency()
Gets dependency.PluginDescription
getDescription()
Gets description.java.lang.String
getExploitCodeMaturity()
Gets exploit code maturity.java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>
getExtraJsonMap()
Gets extra json map for serializationjava.lang.String
getFname()
Gets fname.java.lang.String
getIava()
Gets iava.PluginInformation
getPluginInformation()
Gets plugin information.PluginName
getPluginName()
Gets plugin name.PluginVulnInformation
getPluginVulnInformation()
Gets plugin vuln information.java.lang.String
getProductCoverage()
Gets product coverage.RefInformation
getRef_information()
Gets ref information.java.util.List<PluginRefInformation>
getRefInformation()
Gets ref information.java.lang.String
getRequiredKey()
Gets required key.java.lang.String
getRequiredPort()
Gets required port.PluginRiskInformation
getRiskInformation()
Gets risk information.PluginScriptCopyright
getScriptCopyright()
Gets script copyright.java.util.List<PluginSeeAlso>
getSeeAlso()
Gets see also.PluginSolution
getSolution()
Gets solution.PluginSynopsis
getSynopsis()
Gets synopsis.java.lang.String
getThreatIntensityLast28()
Gets threat intensity last 28.java.lang.String
getThreatRecency()
Gets threat recency.java.lang.String
getThreatSourcesLast28()
Gets threat sources last 28.java.lang.String
getVprScore()
Gets vpr score.void
putExtraJson(java.lang.String key, java.lang.Object value)
Puts extra json during deserializationvoid
setAgeOfVuln(java.lang.String ageOfVuln)
Sets age of vuln.void
setCert(java.lang.String cert)
Sets cert.void
setCvssScoreSource(java.lang.String cvssScoreSource)
Sets cvss score source.void
setCvssV3ImpactScore(java.lang.String cvssV3ImpactScore)
Sets cvss v 3 impact score.void
setDependency(java.lang.String dependency)
Sets dependency.void
setDescription(PluginDescription description)
Sets description.void
setExploitCodeMaturity(java.lang.String exploitCodeMaturity)
Sets exploit code maturity.void
setFname(java.lang.String fname)
Sets fname.void
setIava(java.lang.String iava)
Sets iava.void
setPluginInformation(PluginInformation pluginInformation)
Sets plugin information.void
setPluginName(PluginName pluginName)
Sets plugin name.void
setPluginVulnInformation(PluginVulnInformation pluginVulnInformation)
Sets plugin vuln information.void
setProductCoverage(java.lang.String productCoverage)
Sets product coverage.void
setRef_information(RefInformation ref_information)
Sets ref information.void
setRefInformation(java.util.List<PluginRefInformation> refInformation)
Sets ref information.void
setRequiredKey(java.lang.String requiredKey)
Sets required key.void
setRequiredPort(java.lang.String requiredPort)
Sets required port.void
setRiskInformation(PluginRiskInformation riskInformation)
Sets risk information.void
setScriptCopyright(PluginScriptCopyright scriptCopyright)
Sets script copyright.void
setSeeAlso(java.util.List<PluginSeeAlso> seeAlso)
Sets see also.void
setSolution(PluginSolution solution)
Sets solution.void
setSynopsis(PluginSynopsis synopsis)
Sets synopsis.void
setThreatIntensityLast28(java.lang.String threatIntensityLast28)
Sets threat intensity last 28.void
setThreatRecency(java.lang.String threatRecency)
Sets threat recency.void
setThreatSourcesLast28(java.lang.String threatSourcesLast28)
Sets threat sources last 28.void
setVprScore(java.lang.String vprScore)
Sets vpr score.Methods inherited from class tenapull.data.entity.template.HashLookupTemplate
__prepare, __set, _isHashCalculated, get_hash, hashCode, set_hash
Methods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
getExtraJson, getExtraJson, setExtraJson, toJsonNode, toJsonString, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tenapull.data.entity.template.DbPojo
getId, setId, toJsonNode, toJsonString
-
Field Details
-
dao
The dao for PluginAttributes
-
-
Constructor Details
-
PluginAttributes
public PluginAttributes()
-
-
Method Details
-
_prepare
public void _prepare()Description copied from interface:DbPojo
Perform any operations necessary to prepare this pojo for insertion or updating in the database -
getRefInformation
Gets ref information.- Returns:
- the ref information
-
setRefInformation
Sets ref information.- Parameters:
refInformation
- the ref information
-
getRef_information
Gets ref information.- Returns:
- the ref information
-
setRef_information
Sets ref information.- Parameters:
ref_information
- the ref information
-
getExtraJsonMap
public java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> getExtraJsonMap()Description copied from class:ExtensibleJsonPojo
Gets extra json map for serialization- Overrides:
getExtraJsonMap
in classExtensibleJsonPojo
- Returns:
- the extra json map
-
putExtraJson
public void putExtraJson(java.lang.String key, java.lang.Object value)Description copied from class:ExtensibleJsonPojo
Puts extra json during deserialization- Overrides:
putExtraJson
in classExtensibleJsonPojo
- Parameters:
key
- the keyvalue
- the value
-
_set
Description copied from interface:HashLookupPojo
Synchronize the values of two matching POJOs which represent the same DB record- Parameters:
o
- the other pojo representing the same DB record, which the values should be taken from
-
_match
Description copied from interface:HashLookupPojo
Determine if this pojo represents the same DB record as another POJO of the same type. Note that this is NOT the same as the equals() method (though it may be in certain cases). Equals may be used to determine if two pojos of the same type contain all of the same values, regardless of whether they represent the same DB record (depending on implementation) while _match determines only if they represent the same DB record even if some of the values may not be equivalent. In many cases the two methods may be the same, but their purpose is different.- Parameters:
o
- other pojo to match- Returns:
- true if the two pojos represent the same DB record, false if not
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classGeneratedIdPojo
-
getThreatIntensityLast28
public java.lang.String getThreatIntensityLast28()Gets threat intensity last 28.- Returns:
- the threat intensity last 28
-
setThreatIntensityLast28
public void setThreatIntensityLast28(java.lang.String threatIntensityLast28)Sets threat intensity last 28.- Parameters:
threatIntensityLast28
- the threat intensity last 28
-
getSynopsis
Gets synopsis.- Returns:
- the synopsis
-
setSynopsis
Sets synopsis.- Parameters:
synopsis
- the synopsis
-
getScriptCopyright
Gets script copyright.- Returns:
- the script copyright
-
setScriptCopyright
Sets script copyright.- Parameters:
scriptCopyright
- the script copyright
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
getRiskInformation
Gets risk information.- Returns:
- the risk information
-
setRiskInformation
Sets risk information.- Parameters:
riskInformation
- the risk information
-
getThreatSourcesLast28
public java.lang.String getThreatSourcesLast28()Gets threat sources last 28.- Returns:
- the threat sources last 28
-
setThreatSourcesLast28
public void setThreatSourcesLast28(java.lang.String threatSourcesLast28)Sets threat sources last 28.- Parameters:
threatSourcesLast28
- the threat sources last 28
-
getPluginName
Gets plugin name.- Returns:
- the plugin name
-
setPluginName
Sets plugin name.- Parameters:
pluginName
- the plugin name
-
getVprScore
public java.lang.String getVprScore()Gets vpr score.- Returns:
- the vpr score
-
setVprScore
public void setVprScore(java.lang.String vprScore)Sets vpr score.- Parameters:
vprScore
- the vpr score
-
getCvssScoreSource
public java.lang.String getCvssScoreSource()Gets cvss score source.- Returns:
- the cvss score source
-
setCvssScoreSource
public void setCvssScoreSource(java.lang.String cvssScoreSource)Sets cvss score source.- Parameters:
cvssScoreSource
- the cvss score source
-
getSeeAlso
Gets see also.- Returns:
- the see also
-
setSeeAlso
Sets see also.- Parameters:
seeAlso
- the see also
-
getProductCoverage
public java.lang.String getProductCoverage()Gets product coverage.- Returns:
- the product coverage
-
setProductCoverage
public void setProductCoverage(java.lang.String productCoverage)Sets product coverage.- Parameters:
productCoverage
- the product coverage
-
getThreatRecency
public java.lang.String getThreatRecency()Gets threat recency.- Returns:
- the threat recency
-
setThreatRecency
public void setThreatRecency(java.lang.String threatRecency)Sets threat recency.- Parameters:
threatRecency
- the threat recency
-
getFname
public java.lang.String getFname()Gets fname.- Returns:
- the fname
-
setFname
public void setFname(java.lang.String fname)Sets fname.- Parameters:
fname
- the fname
-
getCvssV3ImpactScore
public java.lang.String getCvssV3ImpactScore()Gets cvss v 3 impact score.- Returns:
- the cvss v 3 impact score
-
setCvssV3ImpactScore
public void setCvssV3ImpactScore(java.lang.String cvssV3ImpactScore)Sets cvss v 3 impact score.- Parameters:
cvssV3ImpactScore
- the cvss v 3 impact score
-
getPluginInformation
Gets plugin information.- Returns:
- the plugin information
-
setPluginInformation
Sets plugin information.- Parameters:
pluginInformation
- the plugin information
-
getRequiredPort
public java.lang.String getRequiredPort()Gets required port.- Returns:
- the required port
-
setRequiredPort
public void setRequiredPort(java.lang.String requiredPort)Sets required port.- Parameters:
requiredPort
- the required port
-
getDependency
public java.lang.String getDependency()Gets dependency.- Returns:
- the dependency
-
setDependency
public void setDependency(java.lang.String dependency)Sets dependency.- Parameters:
dependency
- the dependency
-
getSolution
Gets solution.- Returns:
- the solution
-
setSolution
Sets solution.- Parameters:
solution
- the solution
-
getPluginVulnInformation
Gets plugin vuln information.- Returns:
- the plugin vuln information
-
setPluginVulnInformation
Sets plugin vuln information.- Parameters:
pluginVulnInformation
- the plugin vuln information
-
getAgeOfVuln
public java.lang.String getAgeOfVuln()Gets age of vuln.- Returns:
- the age of vuln
-
setAgeOfVuln
public void setAgeOfVuln(java.lang.String ageOfVuln)Sets age of vuln.- Parameters:
ageOfVuln
- the age of vuln
-
getExploitCodeMaturity
public java.lang.String getExploitCodeMaturity()Gets exploit code maturity.- Returns:
- the exploit code maturity
-
setExploitCodeMaturity
public void setExploitCodeMaturity(java.lang.String exploitCodeMaturity)Sets exploit code maturity.- Parameters:
exploitCodeMaturity
- the exploit code maturity
-
getCert
public java.lang.String getCert()Gets cert.- Returns:
- the cert
-
setCert
public void setCert(java.lang.String cert)Sets cert.- Parameters:
cert
- the cert
-
getRequiredKey
public java.lang.String getRequiredKey()Gets required key.- Returns:
- the required key
-
setRequiredKey
public void setRequiredKey(java.lang.String requiredKey)Sets required key.- Parameters:
requiredKey
- the required key
-
getIava
public java.lang.String getIava()Gets iava.- Returns:
- the iava
-
setIava
public void setIava(java.lang.String iava)Sets iava.- Parameters:
iava
- the iava
-