View the Agentless Scan Progress
x-prisma-cloud-target-env: {"permission":"monitorHosts","saas":true,"self-hosted":true}
x-public: true
Shows the progress of an ongoing scan on hosts or containers for vulnerabilities and compliance.
cURL Request
Refer to the following example cURL command:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
“https://<CONSOLE>/api/v<VERSION>/agentless/progress”
cURL Response
Refer to the following example cURL response:
{
"hostname": "",
"id": "",
"scanTime": "2022-11-09T11:10:51.649Z",
"type": "agentlessHost",
"discovery": true,
"total": 5,
"scanned": 2,
"title": "Agentless discovering"
}
]
- 200
- default
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- discovery boolean
Discovery indicates whether the scan is in discovery phase.
- error string
Error is the error that happened during scan.
- hostname string
Hostname is the hostname for which the progress apply.
- id string
ID is the ID of the entity being scanned.
- scanTime date-time
ScanTime is the time of scan.
- scanned integer
Scanned is the number of entities for which the scan completed.
- title string
Title is the progress title (set by the scanning process).
- total integer
Total is the total amount of entities that should be scanned.
- type shared.ScanType
Possible values: [
image,ciImage,container,host,agentlessHost,registry,serverlessScan,ciServerless,vm,tas,ciTas,cloudDiscovery,serverlessRadar,serverlessAutoDeploy,hostAutoDeploy,codeRepo,ciCodeRepo
]ScanType displays the components for an ongoing scan
- ]
[
{
"discovery": true,
"error": "string",
"hostname": "string",
"id": "string",
"scanTime": "2023-06-02T01:23:50.276Z",
"scanned": 0,
"title": "string",
"total": 0,
"type": [
"image",
"ciImage",
"container",
"host",
"agentlessHost",
"registry",
"serverlessScan",
"ciServerless",
"vm",
"tas",
"ciTas",
"cloudDiscovery",
"serverlessRadar",
"serverlessAutoDeploy",
"hostAutoDeploy",
"codeRepo",
"ciCodeRepo"
]
}
]