Class 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 Details

  • Constructor Details

  • 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

      public java.util.List<PluginRefInformation> getRefInformation()
      Gets ref information.
      Returns:
      the ref information
    • setRefInformation

      public void setRefInformation​(java.util.List<PluginRefInformation> refInformation)
      Sets ref information.
      Parameters:
      refInformation - the ref information
    • getRef_information

      public RefInformation getRef_information()
      Gets ref information.
      Returns:
      the ref information
    • setRef_information

      public void setRef_information​(RefInformation ref_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 class ExtensibleJsonPojo
      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 class ExtensibleJsonPojo
      Parameters:
      key - the key
      value - the value
    • _set

      public void _set​(PluginAttributes o)
      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

      public boolean _match​(PluginAttributes o)
      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 class GeneratedIdPojo
    • 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

      public PluginSynopsis getSynopsis()
      Gets synopsis.
      Returns:
      the synopsis
    • setSynopsis

      public void setSynopsis​(PluginSynopsis synopsis)
      Sets synopsis.
      Parameters:
      synopsis - the synopsis
    • getScriptCopyright

      public PluginScriptCopyright getScriptCopyright()
      Gets script copyright.
      Returns:
      the script copyright
    • setScriptCopyright

      public void setScriptCopyright​(PluginScriptCopyright scriptCopyright)
      Sets script copyright.
      Parameters:
      scriptCopyright - the script copyright
    • getDescription

      public PluginDescription getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription​(PluginDescription description)
      Sets description.
      Parameters:
      description - the description
    • getRiskInformation

      public PluginRiskInformation getRiskInformation()
      Gets risk information.
      Returns:
      the risk information
    • setRiskInformation

      public void setRiskInformation​(PluginRiskInformation riskInformation)
      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

      public PluginName getPluginName()
      Gets plugin name.
      Returns:
      the plugin name
    • setPluginName

      public void setPluginName​(PluginName pluginName)
      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

      public java.util.List<PluginSeeAlso> getSeeAlso()
      Gets see also.
      Returns:
      the see also
    • setSeeAlso

      public void setSeeAlso​(java.util.List<PluginSeeAlso> seeAlso)
      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

      public PluginInformation getPluginInformation()
      Gets plugin information.
      Returns:
      the plugin information
    • setPluginInformation

      public void setPluginInformation​(PluginInformation pluginInformation)
      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

      public PluginSolution getSolution()
      Gets solution.
      Returns:
      the solution
    • setSolution

      public void setSolution​(PluginSolution solution)
      Sets solution.
      Parameters:
      solution - the solution
    • getPluginVulnInformation

      public PluginVulnInformation getPluginVulnInformation()
      Gets plugin vuln information.
      Returns:
      the plugin vuln information
    • setPluginVulnInformation

      public void setPluginVulnInformation​(PluginVulnInformation pluginVulnInformation)
      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