Scan Jobs
Get Scan Job
Use this API to retrieve details of a specific scan job by its unique identifier. Returns comprehensive job information including status, progress, timestamps, metadata counts, scan profile used, and ingestion status.
get/api/discovery-scan-config/v2/scan-job/{jobId}
Path parameters
jobIdstring uuid required
Unique identifier (UUID) of the scan job. Obtain from Create Scan Job API or Get List of Scan Jobs API. Must be a valid UUID format.
Response
Scan job details retrieved successfully
Example response
{
"name": "S3-DS-24thMarch",
"sourceSystemId": "4f162d7c-a563-4bf1-a7c4-b7899f6dcdef",
"scannerId": "4f162d7c-a563-4bf1-a7c4-b7899f6dcdef",
"status": "Completed",
"statusMessage": "status message",
"scanLevel": "CATALOG_SCAN",
"expectedRecordCount": 8,
"successRecordCount": 8,
"scannedMetadataCount": 38,
"uploadedMetadataCount": 38,
"createdDate": "2022-05-24T14:44:02.596+00:00",
"createdBy": "2ae93388-bef6-4b84-a612-8a4904b78dac",
"jobProgress": 100,
"updatedDate": "2022-05-24T14:44:22.294+00:00",
"updatedBy": "2ae93388-bef6-4b84-a612-8a4904b78dac",
"cancelledBy": "2ae93388-bef6-4b84-a612-8a4904b78dac",
"cancelledDate": "2022-05-24T14:44:22.294+00:00",
"pausedBy": "2ae93388-bef6-4b84-a612-8a4904b78dac",
"pausedDate": "2022-05-24T14:44:22.294+00:00",
"resumedBy": "2ae93388-bef6-4b84-a612-8a4904b78dac",
"resumedDate": "2022-05-24T14:44:22.294+00:00",
"classifiedTermsCount": 7,
"ingestionStatus": "PUBLISHED",
"ingestionDate": "2022-05-24T14:44:33.803+00:00",
"ingestedMetadataVolume": 37734,
"totalContentSize": 295454,
"scanProfile": {
"id": "4f162d7c-a563-4bf1-a7c4-b7899f6dcdef",
"name": "My SQL Scan Profile",
"scanType": "CATALOG",
"sourceType": "USER_DEFINED",
"systemName": "MySQL",
"scanProfileContext": {
"type": "MySQL",
"includes": [
{
"database": "OT",
"table": "Employee",
"columns": "Name"
}
],
"excludes": [
{
"database": "OT",
"table": "Credential",
"columns": "Id"
}
],
"samplingScan": {
"enableSampling": false
},
"tableLimits": {
"randomize": false,
"maxCount": 10
},
"tableTypes": [
"TABLE"
],
"databaseLimits": {
"randomize": false,
"maxCount": 1
}
},
"systemType": "RELATIONAL_DATABASE",
"createdDate": "2021-09-11T01:41:50.143+00:00",
"displayName": "Amazon Redshift"
},
"retryAttempts": 1,
"maxRetries": 3,
"idleScanDuration": 377342131,
"scanDuration": 377342131,
"scanStartedDate": "2022-05-24T14:44:22.294+00:00"
}