Need help with other JFrog products?
JFrog Enterprise+
JFrog Artifactory
JFrog Xray
JFrog Mission Control
JFrog Distribution
[JFrog Pipelines]
JFrog Bintray
JFrog Access
Execute a cUrl command, using the configured Xray details. The command expects the cUrl client to be included in the PATH.
Command name | curl |
Abbreviation | cl |
Command options | |
--server-id | [Optional] Server ID configured using the jfrog rt c add command. If not specified, the default configured server is used. |
Command arguments | |
cUrl arguments and flags | The same list of arguments and flags passed to cUrl, except for the following changes:
|
Example 1
Execute the cUrl client, to sent a GET request to the /api/system/version endpoint to the default configured Xray server.
jfrog xr curl -XGET /api/v1/system/version
Example 2
Execute the cUrl client, to send a GET request to the /api/v1/system/version endpoint to the configured my-xr-server server ID.
jfrog rt curl -XGET /api/v1/system/version --server-id my-xr-server
The offline-update command downloads updates to the for Xray's vulnerabilities database. The Xray UI allows building the command structure for you.
Command name | offline-update |
Abbreviation | ou |
Command options | |
--license-id | [Mandatory] Xray license ID |
--from | [Optional] From update date in YYYY-MM-DD format. |
--to | [Optional] To update date in YYYY-MM-DD format. |
--versio | [Optional] Xray API version. |
--target | [Default: ./] Path for downloaded update files. |
Command arguments | The command accepts no arguments. |