Skip to main content

View the Agentless Scan Progress

GET 

/api/v33.00/agentless/progress

x-prisma-cloud-target-env: {"permission":"monitorHosts"}

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"
}
]

Responses

Schema
  • Array [
  • aisInitialScanInProgress boolean

    AISInitialScanInProgress indicates whether agentless next-gen first scheduled scan is in progress.

    aisOnDemandScanInProgress boolean

    AISOnDemandScanInProgress indicates whether agentless next-gen on demand scan is in progress.

    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.

    onDemand boolean

    OnDemand indicates whether the scan was triggered by the user or not (scheduled scan).

    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 (string)

    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

  • ]
Loading...