Get Registry Scan Status
x-prisma-cloud-target-env: {"permission":"monitorImages","saas":true,"self-hosted":true}
x-public: true
Returns the status of the registry scans.
cURL Request
Refer to the following example cURL command:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
https://<CONSOLE>:8083/api/v<VERSION>/statuses/registry
Response
{
"scanTime": "2019-07-31T19:42:49.036311567Z",
"completed": true
}
Responses
- 200
- default
ScanStatus represents the status of current scan
- application/json
- Schema
- Example (from schema)
Schema
- completed boolean
Indicates if scanning has successfully completed (true) or not (false).
- errors string[]
List of errors that occurred during the last scan.
- hostname string
Name of the host where Defender runs.
- scanTime date-time
Datetime of the last completed scan.
- scanning boolean
Indicates whether scanning is in progress (true) or not (false).
- selective boolean
Indicates if the scan is for a specific resource (true) or not (false).
{
"completed": true,
"errors": [
"string"
],
"hostname": "string",
"scanTime": "2023-06-02T02:18:14.707Z",
"scanning": true,
"selective": true
}
Loading...