Description: Get the latest source update status.
Notes:DB Sync updates include updates for PublicData, Contextual Analysis or Exposure Sources.
Security: Requires a user with admin permissions
Usage: GET xray/api/v1/updates/getStatus
Consumes: None
Produces : application/json
Path Parameters: None
Query Parameters: None
Request Body: None
Response Body:
Name | Type | Description |
---|---|---|
last_updated | string | DB Sync V1: The timestamp of the last successful update. DB Sync V3: The timestamp of the latest update package The timestamp is in RFC 3339 format. |
state | string | Sync process state Possible values: Depends on the environment and DB Sync version in use. JFrog SaaS environment:
Self-Hosted environment:
|
sync_mode | string | Database update mode. Possible values: The default update mode is |
status | string | Approximate progress indication. Format: |
Response Codes
Status Code | Description |
---|---|
200 | OK |
403 | Permission denied |
500 | Internal server error |
Sample Successful Response:
{ "last_updated": "2023-12-13T09:00:28.986Z", "state": "running", "sync_mode": "online", "status": "41% (80/192)" }