Saltar al contenido principal
POST
Get scan results by scan ID

Descripción general

Obtén los resultados detallados de un Asset Scan (escaneo de un asset) a partir del ID del escaneo, incluidos los enriquecimientos, los resultados de reglas y verificaciones, y las etiquetas.

Autorizaciones

X-API-KEY
string
header
requerido

Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.

Cuerpo

application/json
scanId
number
requerido

The ID of the asset scan to retrieve results for

workflowId
string

Optional Temporal workflow ID to check if scan is still processing

Respuesta

Successful response

scanId
number
requerido

The ID of the asset scan

status
enum<string>
requerido

Current status of the scan

Opciones disponibles:
PENDING,
IN_PROGRESS,
COMPLETED,
FAILED
asset
object
requerido

Information about the scanned asset

enrichments
object[]
requerido

Array of enrichments performed on the asset

labels
object[]
requerido

Array of labels assigned to the scan

createdAt
string
requerido

When the scan was created

updatedAt
string
requerido

When the scan was last updated

result
object

Processed scan result data