Description: When a repository is configured to block downloads of unscanned artifacts, this setting will make every download request connection set to 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.
Since: 7.5.0
Security: Requires an admin user
Usage: POST /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"}