Description: When a repository is configured to block downloads of unscanned artifacts, this setting will make every download request connection remain open for the time configured. This will allow Xray sufficient time to scan the artifact and then return the artifact or block it due to scan results.
Important
Instead of using this API and other APIs for individual Xray settings, it is recommended to use the Update Basic Xray Settings API, which configures multiple Xray settings at one time.
Since: 7.5.0
Security: Requires an admin user
Usage: POST /artifactory/api/xray/setBlockUnscannedArtifactsDownloadTimeout?seconds={timeInSeconds}
Sample Usage:
curl -X POST -uadmin:password /api/xray/setBlockUnscannedArtifactsDownloadTimeout?seconds=60'
Sample Output:
{"Message": "Xray configuration for block unscanned artifacts download timeout set to: 60"}