Package tenapull.data.entity.scan
Class ScanInfo
java.lang.Object
- 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 Summary
-
Constructor Summary
Constructors Constructor Description ScanInfo()
-
Method Summary
Modifier and Type Method Description void
_prepare()
Perform any operations necessary to prepare this pojo for insertion or updating in the databasejava.util.List<Acl>
getAcls()
Gets acls.java.lang.Boolean
getAltTargetsUsed()
Gets alt targets used.java.lang.Boolean
getControl()
Gets control.SeverityBase
getCurrentSeverityBase()
Gets current severity base.java.lang.String
getCurrentSeverityBaseValue()
Gets current severity base value.java.lang.Boolean
getExploitableVulns()
Gets exploitable vulns.java.lang.Integer
getFolder()
Standard getters/setters belowjava.lang.Boolean
getHasAuditTrail()
Gets has audit trail.java.lang.Boolean
getHaskb()
Gets haskb.int
getHostCount()
Gets host count.java.lang.Boolean
getHostsVulns()
Gets hosts vulns.java.lang.Boolean
getKnownAccounts()
Gets known accounts.License
getLicenseInfo()
Gets license info.java.lang.Integer
getMigrated()
Gets migrated.java.lang.String
getName()
Gets name.java.lang.String
getNodeHost()
Gets node host.java.lang.Integer
getNodeId()
Gets node id.java.lang.String
getNodeName()
Gets node name.java.lang.Boolean
getNoTarget()
Gets no target.java.lang.Integer
getObjectId()
Gets object id.java.lang.Boolean
getOffline()
Gets offline.java.lang.Boolean
getOsesFound()
Gets oses found.java.lang.Boolean
getPciCanUpload()
Gets pci can upload.ScanPolicy
getPolicy()
Gets policy.PolicyTemplateUuid
getPolicyTemplateUuid()
Gets policy template uuid.java.sql.Timestamp
getScanEnd()
Gets scan end.java.lang.Integer
getScanGroup()
Gets scan group.Scanner
getScanner()
Gets scanner.java.sql.Timestamp
getScannerEnd()
Gets scanner end.java.sql.Timestamp
getScannerStart()
Gets scanner start.java.sql.Timestamp
getScanStart()
Gets scan start.ScanType
getScanType()
Gets scan type.SeverityBase
getSelectedSeverityBase()
Gets selected severity base.java.lang.String
getSelectedSeverityBaseValue()
Gets selected severity base value.java.util.List<SeverityBase>
getSeverityBaseSelections()
Gets severity base selections.java.lang.String
getSeverityProcessed()
Gets severity processed.ScanStatus
getStatus()
Gets status.ScanTargets
getTargets()
Gets targets.java.sql.Timestamp
getTimestamp()
Gets timestamp.java.lang.Boolean
getTop10()
Gets top 10.java.lang.Boolean
getUnsupportedSoftware()
Gets unsupported software.java.lang.Integer
getUserPermissions()
Gets user permissions.ScanUuid
getUuid()
Gets uuid.java.lang.Boolean
getYearOldVulns()
Gets year old vulns.boolean
isEditAllowed()
Is edit allowed boolean.void
setAcls(java.util.List<Acl> acls)
Sets acls.void
setAltTargetsUsed(java.lang.Boolean altTargetsUsed)
Sets alt targets used.void
setControl(java.lang.Boolean control)
Sets control.void
setCurrentSeverityBase(SeverityBase currentSeverityBase)
Sets current severity base.void
setCurrentSeverityBaseDisplay(java.lang.String display)
Sets current severity base display.void
setCurrentSeverityBaseValue(java.lang.String value)
Sets current severity base value.void
setEditAllowed(boolean editAllowed)
Sets edit allowed.void
setExploitableVulns(java.lang.Boolean exploitableVulns)
Sets exploitable vulns.void
setFolder(java.lang.Integer folder)
Sets folder.void
setHasAuditTrail(java.lang.Boolean hasAuditTrail)
Sets has audit trail.void
setHaskb(java.lang.Boolean haskb)
Sets haskb.void
setHostCount(int hostCount)
Sets host count.void
setHostsVulns(java.lang.Boolean hostsVulns)
Sets hosts vulns.void
setKnownAccounts(java.lang.Boolean knownAccounts)
Sets known accounts.void
setLicenseInfo(License licenseInfo)
Sets license info.void
setMigrated(java.lang.Integer migrated)
Sets migrated.void
setName(java.lang.String name)
Sets name.void
setNodeHost(java.lang.String nodeHost)
Sets node host.void
setNodeId(java.lang.Integer nodeId)
Sets node id.void
setNodeName(java.lang.String nodeName)
Sets node name.void
setNoTarget(java.lang.Boolean noTarget)
Sets no target.void
setObjectId(java.lang.Integer objectId)
Sets object id.void
setOffline(java.lang.Boolean offline)
Sets offline.void
setOsesFound(java.lang.Boolean osesFound)
Sets oses found.void
setPciCanUpload(java.lang.Boolean pciCanUpload)
Sets pci can upload.void
setPolicy(ScanPolicy policy)
Sets policy.void
setPolicyTemplateUuid(PolicyTemplateUuid policyTemplateUuid)
Sets policy template uuid.void
setScanEnd(java.sql.Timestamp scanEnd)
Sets scan end.void
setScanGroup(java.lang.Integer scanGroup)
Sets scan group.void
setScanner(Scanner scanner)
Sets scanner.void
setScannerEnd(java.sql.Timestamp scannerEnd)
Sets scanner end.void
setScannerStart(java.sql.Timestamp scannerStart)
Sets scanner start.void
setScanStart(java.sql.Timestamp scanStart)
Sets scan start.void
setScanType(ScanType scanType)
Sets scan type.void
setSelectedSeverityBase(SeverityBase selectedSeverityBase)
Severity base settersvoid
setSelectedSeverityBaseValue(java.lang.String value)
Sets selected severity base value.void
setSeverityBaseSelections(java.util.List<SeverityBase> selections)
Sets severity base selections.void
setSeverityProcessed(java.lang.String severityProcessed)
Sets severity processed.void
setStatus(ScanStatus status)
Sets status.void
setTargets(ScanTargets targets)
Sets targets.void
setTimestamp(java.sql.Timestamp timestamp)
Sets timestamp.void
setTop10(java.lang.Boolean top10)
Sets top 10.void
setUnsupportedSoftware(java.lang.Boolean unsupportedSoftware)
Sets unsupported software.void
setUserPermissions(java.lang.Integer userPermissions)
Sets user permissions.void
setUuid(ScanUuid uuid)
Sets uuid.void
setYearOldVulns(java.lang.Boolean yearOldVulns)
Sets year old vulns.Methods inherited from class tenapull.data.entity.response.NessusResponse.SingleChildTemplate
__set, equals, getResponse, setResponse
Methods inherited from class tenapull.data.entity.template.NaturalIdPojo
__set, getId, hashCode, setId
Methods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
__prepare, getExtraJson, getExtraJson, getExtraJsonMap, putExtraJson, 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
Methods inherited from interface tenapull.data.entity.response.NessusResponse.ResponseChild
getResponse, setResponse
-
Field Details
-
Constructor Details
-
ScanInfo
public ScanInfo()
-
-
Method Details
-
getSeverityBaseSelections
Gets severity base selections.- Returns:
- the severity base selections
-
getCurrentSeverityBase
Gets current severity base.- Returns:
- the current severity base
-
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
Severity base setters- Parameters:
selectedSeverityBase
- the selected severity base
-
setSeverityBaseSelections
Sets severity base selections.- Parameters:
selections
- the selections
-
setCurrentSeverityBase
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
Gets uuid.- Returns:
- the uuid
-
setUuid
Sets uuid.- Parameters:
uuid
- the uuid
-
getScanType
Gets scan type.- Returns:
- the scan type
-
setScanType
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
Gets status.- Returns:
- the status
-
setStatus
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
Gets acls.- Returns:
- the acls
-
setAcls
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
Gets targets.- Returns:
- the targets
-
setTargets
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
Gets policy.- Returns:
- the policy
-
setPolicy
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
Gets scanner.- Returns:
- the scanner
-
setScanner
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
Gets license info.- Returns:
- the license info
-
setLicenseInfo
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
Gets policy template uuid.- Returns:
- the policy template uuid
-
setPolicyTemplateUuid
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
-