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.BooleangetAltTargetsUsed()Gets alt targets used.java.lang.BooleangetControl()Gets control.SeverityBasegetCurrentSeverityBase()Gets current severity base.java.lang.StringgetCurrentSeverityBaseValue()Gets current severity base value.java.lang.BooleangetExploitableVulns()Gets exploitable vulns.java.lang.IntegergetFolder()Standard getters/setters belowjava.lang.BooleangetHasAuditTrail()Gets has audit trail.java.lang.BooleangetHaskb()Gets haskb.intgetHostCount()Gets host count.java.lang.BooleangetHostsVulns()Gets hosts vulns.java.lang.BooleangetKnownAccounts()Gets known accounts.LicensegetLicenseInfo()Gets license info.java.lang.IntegergetMigrated()Gets migrated.java.lang.StringgetName()Gets name.java.lang.StringgetNodeHost()Gets node host.java.lang.IntegergetNodeId()Gets node id.java.lang.StringgetNodeName()Gets node name.java.lang.BooleangetNoTarget()Gets no target.java.lang.IntegergetObjectId()Gets object id.java.lang.BooleangetOffline()Gets offline.java.lang.BooleangetOsesFound()Gets oses found.java.lang.BooleangetPciCanUpload()Gets pci can upload.ScanPolicygetPolicy()Gets policy.PolicyTemplateUuidgetPolicyTemplateUuid()Gets policy template uuid.java.sql.TimestampgetScanEnd()Gets scan end.java.lang.IntegergetScanGroup()Gets scan group.ScannergetScanner()Gets scanner.java.sql.TimestampgetScannerEnd()Gets scanner end.java.sql.TimestampgetScannerStart()Gets scanner start.java.sql.TimestampgetScanStart()Gets scan start.ScanTypegetScanType()Gets scan type.SeverityBasegetSelectedSeverityBase()Gets selected severity base.java.lang.StringgetSelectedSeverityBaseValue()Gets selected severity base value.java.util.List<SeverityBase>getSeverityBaseSelections()Gets severity base selections.java.lang.StringgetSeverityProcessed()Gets severity processed.ScanStatusgetStatus()Gets status.ScanTargetsgetTargets()Gets targets.java.sql.TimestampgetTimestamp()Gets timestamp.java.lang.BooleangetTop10()Gets top 10.java.lang.BooleangetUnsupportedSoftware()Gets unsupported software.java.lang.IntegergetUserPermissions()Gets user permissions.ScanUuidgetUuid()Gets uuid.java.lang.BooleangetYearOldVulns()Gets year old vulns.booleanisEditAllowed()Is edit allowed boolean.voidsetAcls(java.util.List<Acl> acls)Sets acls.voidsetAltTargetsUsed(java.lang.Boolean altTargetsUsed)Sets alt targets used.voidsetControl(java.lang.Boolean control)Sets control.voidsetCurrentSeverityBase(SeverityBase currentSeverityBase)Sets current severity base.voidsetCurrentSeverityBaseDisplay(java.lang.String display)Sets current severity base display.voidsetCurrentSeverityBaseValue(java.lang.String value)Sets current severity base value.voidsetEditAllowed(boolean editAllowed)Sets edit allowed.voidsetExploitableVulns(java.lang.Boolean exploitableVulns)Sets exploitable vulns.voidsetFolder(java.lang.Integer folder)Sets folder.voidsetHasAuditTrail(java.lang.Boolean hasAuditTrail)Sets has audit trail.voidsetHaskb(java.lang.Boolean haskb)Sets haskb.voidsetHostCount(int hostCount)Sets host count.voidsetHostsVulns(java.lang.Boolean hostsVulns)Sets hosts vulns.voidsetKnownAccounts(java.lang.Boolean knownAccounts)Sets known accounts.voidsetLicenseInfo(License licenseInfo)Sets license info.voidsetMigrated(java.lang.Integer migrated)Sets migrated.voidsetName(java.lang.String name)Sets name.voidsetNodeHost(java.lang.String nodeHost)Sets node host.voidsetNodeId(java.lang.Integer nodeId)Sets node id.voidsetNodeName(java.lang.String nodeName)Sets node name.voidsetNoTarget(java.lang.Boolean noTarget)Sets no target.voidsetObjectId(java.lang.Integer objectId)Sets object id.voidsetOffline(java.lang.Boolean offline)Sets offline.voidsetOsesFound(java.lang.Boolean osesFound)Sets oses found.voidsetPciCanUpload(java.lang.Boolean pciCanUpload)Sets pci can upload.voidsetPolicy(ScanPolicy policy)Sets policy.voidsetPolicyTemplateUuid(PolicyTemplateUuid policyTemplateUuid)Sets policy template uuid.voidsetScanEnd(java.sql.Timestamp scanEnd)Sets scan end.voidsetScanGroup(java.lang.Integer scanGroup)Sets scan group.voidsetScanner(Scanner scanner)Sets scanner.voidsetScannerEnd(java.sql.Timestamp scannerEnd)Sets scanner end.voidsetScannerStart(java.sql.Timestamp scannerStart)Sets scanner start.voidsetScanStart(java.sql.Timestamp scanStart)Sets scan start.voidsetScanType(ScanType scanType)Sets scan type.voidsetSelectedSeverityBase(SeverityBase selectedSeverityBase)Severity base settersvoidsetSelectedSeverityBaseValue(java.lang.String value)Sets selected severity base value.voidsetSeverityBaseSelections(java.util.List<SeverityBase> selections)Sets severity base selections.voidsetSeverityProcessed(java.lang.String severityProcessed)Sets severity processed.voidsetStatus(ScanStatus status)Sets status.voidsetTargets(ScanTargets targets)Sets targets.voidsetTimestamp(java.sql.Timestamp timestamp)Sets timestamp.voidsetTop10(java.lang.Boolean top10)Sets top 10.voidsetUnsupportedSoftware(java.lang.Boolean unsupportedSoftware)Sets unsupported software.voidsetUserPermissions(java.lang.Integer userPermissions)Sets user permissions.voidsetUuid(ScanUuid uuid)Sets uuid.voidsetYearOldVulns(java.lang.Boolean yearOldVulns)Sets year old vulns.Methods inherited from class tenapull.data.entity.response.NessusResponse.SingleChildTemplate
__set, equals, getResponse, setResponseMethods inherited from class tenapull.data.entity.template.NaturalIdPojo
__set, getId, hashCode, setIdMethods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
__prepare, getExtraJson, getExtraJson, getExtraJsonMap, putExtraJson, 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, toJsonStringMethods 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:DbPojoPerform 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
-