View the Agentless Scan Progress
GET/api/v30.00/agentless/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"
}
]
Request
Responses
- 200
- default
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Specifies whether the scan is in the discovery phase. Values: true | false.
Displays an error that occurs during a scan.
Specifies the hostname for an ongoing scan.
Specifies the ID of the entity being scanned.
Specifies the time when the scan started.
Specifies the number of scanned entities.
Specifies the progress title (set by the scanning process).
Specifies the total number of regions that should be scanned (Excludes the virtual machines for agentless).
Possible values: [image,ciImage,container,host,agentlessHost,registry,serverlessScan,ciServerless,vm,tas,ciTas,cloudDiscovery,serverlessRadar,serverlessAutoDeploy,hostAutoDeploy,codeRepo,ciCodeRepo
]
ScanType represents the scanning type performed
[
{
"discovery": true,
"error": "string",
"hostname": "string",
"id": "string",
"scanTime": "2023-12-01T18:46:56.895Z",
"scanned": 0,
"title": "string",
"total": 0,
"type": [
"image",
"ciImage",
"container",
"host",
"agentlessHost",
"registry",
"serverlessScan",
"ciServerless",
"vm",
"tas",
"ciTas",
"cloudDiscovery",
"serverlessRadar",
"serverlessAutoDeploy",
"hostAutoDeploy",
"codeRepo",
"ciCodeRepo"
]
}
]