Description: Enables administrators to configure a set of basic Xray settings.
Note
Some of these settings can also be configured individually using specific APIs, as described below.
Since: 7.37
Security: Requires an admin user
Usage: POST /artifactory/api/xrayRepo/updateXrayBasicSettings
Sample Request:
{
"xrayEnabled": true,
"allowOperationsXrayUnavailable": false,
"allowBlockedArtifactsDownload": false,
"blockUnscannedTimeoutSeconds": 60,
"blockUnfinishedScansTimeoutSeconds": 1800
}The request includes the following information:
Property | Required | Type | Description |
|---|---|---|---|
| required | boolean | Enables or disables Xray integration. The default is |
| required | boolean | DeprecatedUse When set to The default is |
| required | boolean | When set to The default is |
| required | boolean | When set to The default is |
| required | integer | The timeout in seconds to wait for unscanned artifacts before allowing/blocking the download. The default is |
| required | integer | The timeout in seconds to wait for scans in progress to complete before allowing/blocking the download. The default is |
Response (success): 200 OK