API reference
Scans
Scans: the checks run on domains and servers, their results and their changes over time.
Its operations need the scope domains.view.
The Scan object
Attributes
- uuidstring
The scan’s uuid.
- scan_typestring
One of
dns,expiry,information,ssl. - domain_uuidstring
The uuid of the domain that was scanned.
- statusstring
queued,running,completed,failedortimeout: an open set. - outcomestring or null
What a finished scan found, for example
data_foundorno_data; null until it ends. An open set. - queued_atinteger or null
Epoch milliseconds. When the scan was queued.
An instant: epoch milliseconds, UTC. - started_atinteger or null
Epoch milliseconds. When the scan started running; null until it has.
An instant: epoch milliseconds, UTC. - completed_atinteger or null
Epoch milliseconds. When the scan ended; null until it has.
An instant: epoch milliseconds, UTC. - execution_time_msinteger or null
How long the scan took, in milliseconds; null until it has ended.
- error_messagestring or null
Why a scan failed, as the console shows it; null otherwise.
Get a domain scan
GET/v1/scans/{scan_uuid}
Returns the lifecycle of one domain scan of any kind: its status, outcome, timings and error. It carries no findings; read them from the domain’s scans.
Needs the scope domains.view.
Path parameters
- scan_uuidstring (uuid)Required
The uuid of the domain scan.
Returns
200 OK:
The scan’s lifecycle.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.