Description: Returns the current Xray integration configuration with Artifactory.
Since: 7.37
Security: Requires an admin user
Usage: GET /artifactory/api/xrayRepo/getIntegrationConfig
Sample Response:
{ "xrayEnabled": true, "xrayAllowBlocked": false, "xrayAllowWhenUnavailable": false, "blockUnscannedTimeoutSeconds": 60, "blockUnfinishedScansTimeoutSeconds": 1800 }
The request includes the following information:
Property | Type | Description |
---|---|---|
| boolean | Determines whether Xray is currently enabled. Default value: |
| boolean | Determines whether to allow artifacts blocked by Xray to be downloaded. This setting cannot override the blocking of unscanned artifacts. Default value: |
| boolean | Determines whether to block certain operations (for example, downloading artifacts) when the connected Xray instance is unavailable. Default value: |
| integer | Defines the amount of time to wait for Xray to start scanning an artifact before blocking operations on that artifact automatically if the scan has still not started. Default value: 60 seconds (1 minute) |
| integer | Defines the amount of time to wait for Xray to finish scanning an artifact before blocking operations on that artifact automatically if the scan is still unfinished. Default value: 1800 seconds (30 minutes) |