Scan
A run of your protection resources against leak data.
Fields
Scan result counts.
stats.severitiesobjectFindings by severity.
stats.typesobjectFindings by type.
stats.resourceTypeBreakdownobjectFindings by resource type.
stats.totalItemsCheckednumberRecords checked.
stats.totalResourcesScannednumberProtection resources scanned.
stats.totalMatchesnumberTotal matches.
stats.newMatchesnumberMatches seen for the first time in this scan.
stats.credentialsFoundnumberCredentials found.
stats.machinesFoundnumberMachines found.
Error summary if the scan failed (message and code only).
error.messagestring | nullError message.
error.codestring | nullError code.
_idstringRecord id (24 hex characters).
firmstringId of the firm the record belongs to — always your API key’s firm.
protectionResourceGroupIdstring | nullId of the protection resource group the record belongs to.
scanTypestringScan type: `manual`, `scheduled`, `automatic` or `auto`.
statusstringScan status: `pending`, `running`, `completed`, `failed`, `cancelled`.
startedAtstringStart time.
completedAtstring | nullCompletion time.
durationMsnumber | nullDuration (milliseconds).
resourceResultsarrayPer-resource scan results.
createdAtstringCreation time (ISO 8601).
updatedAtstringLast update time (ISO 8601).
JSON schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://darkradar.com/docs/schemas/scan.schema.json",
"title": "Scan",
"description": "A run of your protection resources against leak data.",
"type": "object",
"properties": {
"stats": {
"type": "object",
"description": "Scan result counts.",
"properties": {
"severities": {
"type": "object",
"description": "Findings by severity."
},
"types": {
"type": "object",
"description": "Findings by type."
},
"resourceTypeBreakdown": {
"type": "object",
"description": "Findings by resource type."
},
"totalItemsChecked": {
"type": "number",
"description": "Records checked."
},
"totalResourcesScanned": {
"type": "number",
"description": "Protection resources scanned."
},
"totalMatches": {
"type": "number",
"description": "Total matches."
},
"newMatches": {
"type": "number",
"description": "Matches seen for the first time in this scan."
},
"credentialsFound": {
"type": "number",
"description": "Credentials found."
},
"machinesFound": {
"type": "number",
"description": "Machines found."
}
}
},
"error": {
"type": "object",
"description": "Error summary if the scan failed (message and code only).",
"properties": {
"message": {
"type": [
"string",
"null"
],
"description": "Error message."
},
"code": {
"type": [
"string",
"null"
],
"description": "Error code."
}
}
},
"_id": {
"type": "string",
"description": "Record id (24 hex characters)."
},
"firm": {
"type": "string",
"description": "Id of the firm the record belongs to — always your API key’s firm."
},
"protectionResourceGroupId": {
"type": [
"string",
"null"
],
"description": "Id of the protection resource group the record belongs to."
},
"scanType": {
"type": "string",
"description": "Scan type: `manual`, `scheduled`, `automatic` or `auto`."
},
"status": {
"type": "string",
"description": "Scan status: `pending`, `running`, `completed`, `failed`, `cancelled`."
},
"startedAt": {
"type": "string",
"description": "Start time."
},
"completedAt": {
"type": [
"string",
"null"
],
"description": "Completion time."
},
"durationMs": {
"type": [
"number",
"null"
],
"description": "Duration (milliseconds)."
},
"resourceResults": {
"type": "array",
"description": "Per-resource scan results.",
"items": {}
},
"createdAt": {
"type": "string",
"description": "Creation time (ISO 8601)."
},
"updatedAt": {
"type": "string",
"description": "Last update time (ISO 8601)."
}
}
}