Class ScanInfo

All Implemented Interfaces:
NessusResponse.ResponseChild<ScanInfo,​ScanResponse>, ScanResponse.ScanResponseChild<ScanInfo>, DbPojo

@Entity(name="ScanInfo")
public class ScanInfo
extends ScanResponse.SingleChild<ScanInfo>
Represents the info object returned by the Nessus API in /scans/<scan-id>
  • Field Details

    • dao

      public static final Dao<ScanInfo> dao
      The dao for ScanInfo
    • logger

      public static final org.apache.logging.log4j.Logger logger
      The logger for ScanInfo
  • Constructor Details

  • Method Details

    • getSeverityBaseSelections

      public java.util.List<SeverityBase> getSeverityBaseSelections()
      Gets severity base selections.
      Returns:
      the severity base selections
    • getCurrentSeverityBase

      public SeverityBase getCurrentSeverityBase()
      Gets current severity base.
      Returns:
      the current severity base
    • getSelectedSeverityBase

      public SeverityBase getSelectedSeverityBase()
      Gets selected severity base.
      Returns:
      the selected severity base
    • getCurrentSeverityBaseValue

      public java.lang.String getCurrentSeverityBaseValue()
      Gets current severity base value.
      Returns:
      the current severity base value
    • getSelectedSeverityBaseValue

      public java.lang.String getSelectedSeverityBaseValue()
      Gets selected severity base value.
      Returns:
      the selected severity base value
    • setSelectedSeverityBase

      public void setSelectedSeverityBase​(SeverityBase selectedSeverityBase)
      Severity base setters
      Parameters:
      selectedSeverityBase - the selected severity base
    • setSeverityBaseSelections

      public void setSeverityBaseSelections​(java.util.List<SeverityBase> selections)
      Sets severity base selections.
      Parameters:
      selections - the selections
    • setCurrentSeverityBase

      public void setCurrentSeverityBase​(SeverityBase currentSeverityBase)
      Sets current severity base.
      Parameters:
      currentSeverityBase - the current severity base
    • setCurrentSeverityBaseValue

      public void setCurrentSeverityBaseValue​(java.lang.String value)
      Sets current severity base value.
      Parameters:
      value - the value
    • setCurrentSeverityBaseDisplay

      public void setCurrentSeverityBaseDisplay​(java.lang.String display)
      Sets current severity base display.
      Parameters:
      display - the display
    • setSelectedSeverityBaseValue

      public void setSelectedSeverityBaseValue​(java.lang.String value)
      Sets selected severity base value.
      Parameters:
      value - the value
    • _prepare

      public void _prepare()
      Description copied from interface: DbPojo
      Perform any operations necessary to prepare this pojo for insertion or updating in the database
    • getFolder

      public java.lang.Integer getFolder()
      Standard getters/setters below
      Returns:
      the folder
    • setFolder

      public void setFolder​(java.lang.Integer folder)
      Sets folder.
      Parameters:
      folder - the folder
    • getName

      public java.lang.String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName​(java.lang.String name)
      Sets name.
      Parameters:
      name - the name
    • getUuid

      public ScanUuid getUuid()
      Gets uuid.
      Returns:
      the uuid
    • setUuid

      public void setUuid​(ScanUuid uuid)
      Sets uuid.
      Parameters:
      uuid - the uuid
    • getScanType

      public ScanType getScanType()
      Gets scan type.
      Returns:
      the scan type
    • setScanType

      public void setScanType​(ScanType scanType)
      Sets scan type.
      Parameters:
      scanType - the scan type
    • getOffline

      public java.lang.Boolean getOffline()
      Gets offline.
      Returns:
      the offline
    • setOffline

      public void setOffline​(java.lang.Boolean offline)
      Sets offline.
      Parameters:
      offline - the offline
    • getStatus

      public ScanStatus getStatus()
      Gets status.
      Returns:
      the status
    • setStatus

      public void setStatus​(ScanStatus status)
      Sets status.
      Parameters:
      status - the status
    • isEditAllowed

      public boolean isEditAllowed()
      Is edit allowed boolean.
      Returns:
      the boolean
    • setEditAllowed

      public void setEditAllowed​(boolean editAllowed)
      Sets edit allowed.
      Parameters:
      editAllowed - the edit allowed
    • getAcls

      public java.util.List<Acl> getAcls()
      Gets acls.
      Returns:
      the acls
    • setAcls

      public void setAcls​(java.util.List<Acl> acls)
      Sets acls.
      Parameters:
      acls - the acls
    • getScanGroup

      public java.lang.Integer getScanGroup()
      Gets scan group.
      Returns:
      the scan group
    • setScanGroup

      public void setScanGroup​(java.lang.Integer scanGroup)
      Sets scan group.
      Parameters:
      scanGroup - the scan group
    • getTargets

      public ScanTargets getTargets()
      Gets targets.
      Returns:
      the targets
    • setTargets

      public void setTargets​(ScanTargets targets)
      Sets targets.
      Parameters:
      targets - the targets
    • getScannerStart

      public java.sql.Timestamp getScannerStart()
      Gets scanner start.
      Returns:
      the scanner start
    • setScannerStart

      public void setScannerStart​(java.sql.Timestamp scannerStart)
      Sets scanner start.
      Parameters:
      scannerStart - the scanner start
    • getScannerEnd

      public java.sql.Timestamp getScannerEnd()
      Gets scanner end.
      Returns:
      the scanner end
    • setScannerEnd

      public void setScannerEnd​(java.sql.Timestamp scannerEnd)
      Sets scanner end.
      Parameters:
      scannerEnd - the scanner end
    • getOsesFound

      public java.lang.Boolean getOsesFound()
      Gets oses found.
      Returns:
      the oses found
    • setOsesFound

      public void setOsesFound​(java.lang.Boolean osesFound)
      Sets oses found.
      Parameters:
      osesFound - the oses found
    • getHostCount

      public int getHostCount()
      Gets host count.
      Returns:
      the host count
    • setHostCount

      public void setHostCount​(int hostCount)
      Sets host count.
      Parameters:
      hostCount - the host count
    • getHaskb

      public java.lang.Boolean getHaskb()
      Gets haskb.
      Returns:
      the haskb
    • setHaskb

      public void setHaskb​(java.lang.Boolean haskb)
      Sets haskb.
      Parameters:
      haskb - the haskb
    • getExploitableVulns

      public java.lang.Boolean getExploitableVulns()
      Gets exploitable vulns.
      Returns:
      the exploitable vulns
    • setExploitableVulns

      public void setExploitableVulns​(java.lang.Boolean exploitableVulns)
      Sets exploitable vulns.
      Parameters:
      exploitableVulns - the exploitable vulns
    • getHostsVulns

      public java.lang.Boolean getHostsVulns()
      Gets hosts vulns.
      Returns:
      the hosts vulns
    • setHostsVulns

      public void setHostsVulns​(java.lang.Boolean hostsVulns)
      Sets hosts vulns.
      Parameters:
      hostsVulns - the hosts vulns
    • getMigrated

      public java.lang.Integer getMigrated()
      Gets migrated.
      Returns:
      the migrated
    • setMigrated

      public void setMigrated​(java.lang.Integer migrated)
      Sets migrated.
      Parameters:
      migrated - the migrated
    • getTimestamp

      public java.sql.Timestamp getTimestamp()
      Gets timestamp.
      Returns:
      the timestamp
    • setTimestamp

      public void setTimestamp​(java.sql.Timestamp timestamp)
      Sets timestamp.
      Parameters:
      timestamp - the timestamp
    • getPolicy

      public ScanPolicy getPolicy()
      Gets policy.
      Returns:
      the policy
    • setPolicy

      public void setPolicy​(ScanPolicy policy)
      Sets policy.
      Parameters:
      policy - the policy
    • getYearOldVulns

      public java.lang.Boolean getYearOldVulns()
      Gets year old vulns.
      Returns:
      the year old vulns
    • setYearOldVulns

      public void setYearOldVulns​(java.lang.Boolean yearOldVulns)
      Sets year old vulns.
      Parameters:
      yearOldVulns - the year old vulns
    • getTop10

      public java.lang.Boolean getTop10()
      Gets top 10.
      Returns:
      the top 10
    • setTop10

      public void setTop10​(java.lang.Boolean top10)
      Sets top 10.
      Parameters:
      top10 - the top 10
    • getPciCanUpload

      public java.lang.Boolean getPciCanUpload()
      Gets pci can upload.
      Returns:
      the pci can upload
    • setPciCanUpload

      public void setPciCanUpload​(java.lang.Boolean pciCanUpload)
      Sets pci can upload.
      Parameters:
      pciCanUpload - the pci can upload
    • getNodeName

      public java.lang.String getNodeName()
      Gets node name.
      Returns:
      the node name
    • setNodeName

      public void setNodeName​(java.lang.String nodeName)
      Sets node name.
      Parameters:
      nodeName - the node name
    • getScanStart

      public java.sql.Timestamp getScanStart()
      Gets scan start.
      Returns:
      the scan start
    • setScanStart

      public void setScanStart​(java.sql.Timestamp scanStart)
      Sets scan start.
      Parameters:
      scanStart - the scan start
    • getScanEnd

      public java.sql.Timestamp getScanEnd()
      Gets scan end.
      Returns:
      the scan end
    • setScanEnd

      public void setScanEnd​(java.sql.Timestamp scanEnd)
      Sets scan end.
      Parameters:
      scanEnd - the scan end
    • getHasAuditTrail

      public java.lang.Boolean getHasAuditTrail()
      Gets has audit trail.
      Returns:
      the has audit trail
    • setHasAuditTrail

      public void setHasAuditTrail​(java.lang.Boolean hasAuditTrail)
      Sets has audit trail.
      Parameters:
      hasAuditTrail - the has audit trail
    • getControl

      public java.lang.Boolean getControl()
      Gets control.
      Returns:
      the control
    • setControl

      public void setControl​(java.lang.Boolean control)
      Sets control.
      Parameters:
      control - the control
    • getScanner

      public Scanner getScanner()
      Gets scanner.
      Returns:
      the scanner
    • setScanner

      public void setScanner​(Scanner scanner)
      Sets scanner.
      Parameters:
      scanner - the scanner
    • getUnsupportedSoftware

      public java.lang.Boolean getUnsupportedSoftware()
      Gets unsupported software.
      Returns:
      the unsupported software
    • setUnsupportedSoftware

      public void setUnsupportedSoftware​(java.lang.Boolean unsupportedSoftware)
      Sets unsupported software.
      Parameters:
      unsupportedSoftware - the unsupported software
    • getObjectId

      public java.lang.Integer getObjectId()
      Gets object id.
      Returns:
      the object id
    • setObjectId

      public void setObjectId​(java.lang.Integer objectId)
      Sets object id.
      Parameters:
      objectId - the object id
    • getLicenseInfo

      public License getLicenseInfo()
      Gets license info.
      Returns:
      the license info
    • setLicenseInfo

      public void setLicenseInfo​(License licenseInfo)
      Sets license info.
      Parameters:
      licenseInfo - the license info
    • getNoTarget

      public java.lang.Boolean getNoTarget()
      Gets no target.
      Returns:
      the no target
    • setNoTarget

      public void setNoTarget​(java.lang.Boolean noTarget)
      Sets no target.
      Parameters:
      noTarget - the no target
    • getNodeHost

      public java.lang.String getNodeHost()
      Gets node host.
      Returns:
      the node host
    • setNodeHost

      public void setNodeHost​(java.lang.String nodeHost)
      Sets node host.
      Parameters:
      nodeHost - the node host
    • getSeverityProcessed

      public java.lang.String getSeverityProcessed()
      Gets severity processed.
      Returns:
      the severity processed
    • setSeverityProcessed

      public void setSeverityProcessed​(java.lang.String severityProcessed)
      Sets severity processed.
      Parameters:
      severityProcessed - the severity processed
    • getNodeId

      public java.lang.Integer getNodeId()
      Gets node id.
      Returns:
      the node id
    • setNodeId

      public void setNodeId​(java.lang.Integer nodeId)
      Sets node id.
      Parameters:
      nodeId - the node id
    • getAltTargetsUsed

      public java.lang.Boolean getAltTargetsUsed()
      Gets alt targets used.
      Returns:
      the alt targets used
    • setAltTargetsUsed

      public void setAltTargetsUsed​(java.lang.Boolean altTargetsUsed)
      Sets alt targets used.
      Parameters:
      altTargetsUsed - the alt targets used
    • getUserPermissions

      public java.lang.Integer getUserPermissions()
      Gets user permissions.
      Returns:
      the user permissions
    • setUserPermissions

      public void setUserPermissions​(java.lang.Integer userPermissions)
      Sets user permissions.
      Parameters:
      userPermissions - the user permissions
    • getPolicyTemplateUuid

      public PolicyTemplateUuid getPolicyTemplateUuid()
      Gets policy template uuid.
      Returns:
      the policy template uuid
    • setPolicyTemplateUuid

      public void setPolicyTemplateUuid​(PolicyTemplateUuid policyTemplateUuid)
      Sets policy template uuid.
      Parameters:
      policyTemplateUuid - the policy template uuid
    • getKnownAccounts

      public java.lang.Boolean getKnownAccounts()
      Gets known accounts.
      Returns:
      the known accounts
    • setKnownAccounts

      public void setKnownAccounts​(java.lang.Boolean knownAccounts)
      Sets known accounts.
      Parameters:
      knownAccounts - the known accounts