Mitigation Steps:

ARTIFACTORY: Why downloads with 403 status with "download blocking policy" error in the source instance then resulted in 404 error using Smart Remote Repository

AuthorFullName__c
Yonatan Hen
articleNumber
000005894
ft:sourceType
Salesforce
FirstPublishedDate
2023-10-19T14:47:27Z
lastModifiedDate
2023-10-18
VersionNumber
2

Starting from Artifactory version 7.68.0, you can enable the following property in the $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties file on the instance used to send the download request to the Smart Remote Repository. This will ensure that the Smart Remote Repository returns the appropriate status and error message:

artifactory.xray.remote.validation=true


After enabling this property and restarting the Artifactory instance, the "404" message should be replaced with the following output:

{
"errors" : [ {
"status" : 403,
"message" : "Blocked by Xray"
} ]
}


*For more information, refer to RTFACT-29813 .