Get Registry Scan Status
Returns the status of a regular registry scan that might include the following information:
- Scan is completed:
- Scan is ongoing.
- Errors: 10 most recent aggregated errors that occured during the scan with error messages such as:
- "Failed to retrieve repositories info..."
- "Failed to query image details..."
- "No available Defender was found"
To view the more details about the progress of a regular or on-demand registry scan, use the
/registry/progress API endpoint.
Refer to the following example cURL command:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
ScanStatus represents the status of current scan
- Example (from schema)
Indicates if scanning has successfully completed (true) or not (false).
List of errors that occurred during the last scan.
Name of the host where Defender runs.
Datetime of the last completed scan.
Indicates whether scanning is in progress (true) or not (false).
Indicates if the scan is for a specific resource (true) or not (false).