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>daoThe 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 recordbooleanequals(java.lang.Object o)java.lang.StringgetAgeOfVuln()Gets age of vuln.java.lang.StringgetCert()Gets cert.java.lang.StringgetCvssScoreSource()Gets cvss score source.java.lang.StringgetCvssV3ImpactScore()Gets cvss v 3 impact score.java.lang.StringgetDependency()Gets dependency.PluginDescriptiongetDescription()Gets description.java.lang.StringgetExploitCodeMaturity()Gets exploit code maturity.java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>getExtraJsonMap()Gets extra json map for serializationjava.lang.StringgetFname()Gets fname.java.lang.StringgetIava()Gets iava.PluginInformationgetPluginInformation()Gets plugin information.PluginNamegetPluginName()Gets plugin name.PluginVulnInformationgetPluginVulnInformation()Gets plugin vuln information.java.lang.StringgetProductCoverage()Gets product coverage.RefInformationgetRef_information()Gets ref information.java.util.List<PluginRefInformation>getRefInformation()Gets ref information.java.lang.StringgetRequiredKey()Gets required key.java.lang.StringgetRequiredPort()Gets required port.PluginRiskInformationgetRiskInformation()Gets risk information.PluginScriptCopyrightgetScriptCopyright()Gets script copyright.java.util.List<PluginSeeAlso>getSeeAlso()Gets see also.PluginSolutiongetSolution()Gets solution.PluginSynopsisgetSynopsis()Gets synopsis.java.lang.StringgetThreatIntensityLast28()Gets threat intensity last 28.java.lang.StringgetThreatRecency()Gets threat recency.java.lang.StringgetThreatSourcesLast28()Gets threat sources last 28.java.lang.StringgetVprScore()Gets vpr score.voidputExtraJson(java.lang.String key, java.lang.Object value)Puts extra json during deserializationvoidsetAgeOfVuln(java.lang.String ageOfVuln)Sets age of vuln.voidsetCert(java.lang.String cert)Sets cert.voidsetCvssScoreSource(java.lang.String cvssScoreSource)Sets cvss score source.voidsetCvssV3ImpactScore(java.lang.String cvssV3ImpactScore)Sets cvss v 3 impact score.voidsetDependency(java.lang.String dependency)Sets dependency.voidsetDescription(PluginDescription description)Sets description.voidsetExploitCodeMaturity(java.lang.String exploitCodeMaturity)Sets exploit code maturity.voidsetFname(java.lang.String fname)Sets fname.voidsetIava(java.lang.String iava)Sets iava.voidsetPluginInformation(PluginInformation pluginInformation)Sets plugin information.voidsetPluginName(PluginName pluginName)Sets plugin name.voidsetPluginVulnInformation(PluginVulnInformation pluginVulnInformation)Sets plugin vuln information.voidsetProductCoverage(java.lang.String productCoverage)Sets product coverage.voidsetRef_information(RefInformation ref_information)Sets ref information.voidsetRefInformation(java.util.List<PluginRefInformation> refInformation)Sets ref information.voidsetRequiredKey(java.lang.String requiredKey)Sets required key.voidsetRequiredPort(java.lang.String requiredPort)Sets required port.voidsetRiskInformation(PluginRiskInformation riskInformation)Sets risk information.voidsetScriptCopyright(PluginScriptCopyright scriptCopyright)Sets script copyright.voidsetSeeAlso(java.util.List<PluginSeeAlso> seeAlso)Sets see also.voidsetSolution(PluginSolution solution)Sets solution.voidsetSynopsis(PluginSynopsis synopsis)Sets synopsis.voidsetThreatIntensityLast28(java.lang.String threatIntensityLast28)Sets threat intensity last 28.voidsetThreatRecency(java.lang.String threatRecency)Sets threat recency.voidsetThreatSourcesLast28(java.lang.String threatSourcesLast28)Sets threat sources last 28.voidsetVprScore(java.lang.String vprScore)Sets vpr score.Methods inherited from class tenapull.data.entity.template.HashLookupTemplate
__prepare, __set, _isHashCalculated, get_hash, hashCode, set_hashMethods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
getExtraJson, getExtraJson, setExtraJson, toJsonNode, toJsonString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:DbPojoPerform 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:ExtensibleJsonPojoGets extra json map for serialization- Overrides:
getExtraJsonMapin classExtensibleJsonPojo- Returns:
- the extra json map
-
putExtraJson
public void putExtraJson(java.lang.String key, java.lang.Object value)Description copied from class:ExtensibleJsonPojoPuts extra json during deserialization- Overrides:
putExtraJsonin classExtensibleJsonPojo- Parameters:
key- the keyvalue- the value
-
_set
Description copied from interface:HashLookupPojoSynchronize 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:HashLookupPojoDetermine 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:
equalsin 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
-