/scanResult
Methods
Gets the list of Scan Results.
Fields Parameter
Request Parameters
Filter Parameters
usable - The response will be an object containing an array of usable Scan Results. By default, both usable and manageable objects are returned.
manageable - The response will be an object containing all manageable Scan Results. By default, both usable and manageable objects are returned.
running - Only Scan Results that are currently running will be returned. This is compatible with usable and/or manageable filters. By default, both running and completed Scan Results are returned.
completed - Only Scan Results that have completed will be returned. This is compatible with usable and/or manageable filters. By default, both running and completed Scan Results are returned.
optimizeCompletedScans- Skip retrieval of progress fields (completedIPs, completedChecks, totalChecks) for scans that are no longer in progress to optimize speed.
timeCompareField - Only support finishTime and createdTime
Example Response
/scanResult/{id}
Methods
Gets the Scan Result associated with {id}.
Fields Parameter
Request Parameters
None
Example Response
Deletes the Scan Result associated with {id}, depending on access and permissions.
Request Parameters
None
Example Response
/scanResult/{id}/copy
Methods
Copies the Scan Result associated with {id}, depending on access and permissions.
Request Parameters
Example Response
/scanResult/{id}/email
Methods
Emails the Scan Result associated with {id}, depending on access and permissions.
Request Parameters
Example Response
/scanResult/import
Methods
Imports the Scan Result associated with the uploaded file, identified by filename.
Request Parameters
Example Response
/scanResult/{id}/import
Methods
Re-imports the Scan Result associated with {id}.
Request Parameters
Example Response
/scanResult/{id}/stop
Methods
Stops the Scan Result associated with {id}.
NOTE: This endpoint is not applicable for Agent Sync Results, and it is disabled as such.
Request Parameters
None
Example Response
/scanResult/{id}/pause
Methods
Pauses the Scan Result associated with {id}.
NOTE: This endpoint is not applicable for Agent Results, and it is disabled as such.
Request Parameters
None
Example Response
/scanResult/{id}/resume
Methods
Resumes the Scan Result associated with {id}.
NOTE: This endpoint is not applicable for Agent Results, and it is disabled as such.
Request Parameters
None
Example Response
/scanResult/{id}/download
Methods
Downloads the Scan Result associated with {id}.
NOTE: A Scan Result of the requested downloadType must exist for the target Scan Result. For most Scans, only the v2 downloadType applies..
Request Parameters
Example Response
None. The response is a downloaded file for the requested type.
- For type "v2", the file is a Nessus file or a zip file containing a Nessus file.
- For types "oval" and "scap1_2", the file is a zip file containing the oval or scap results.
- For type "diagnostic", the file is a diagnostic database file.
/scanResult/{id}/attachment/{attachmentID}
Downloads the attachment with the given {attachmentID} for the provided scan result.
Request Parameters
None
Example Response
None given. The response will be the downloaded file in binary or ascii format.