XRAY: How to fix the failure of the Xray scan with the error “Warn: Only 500 of the files matching sha256”

XRAY: How to fix the failure of the Xray scan with the error “Warn: Only 500 of the files matching sha256”

AuthorFullName__c
Jian Sun
articleNumber
000006123
ft:sourceType
Salesforce
FirstPublishedDate
2024-06-16T09:08:10Z
lastModifiedDate
2024-06-16
VersionNumber
1
The issue
JFrog Xray is a universal software composition analysis (SCA) solution which scans your artifacts for OSS components being used, and detects security vulnerabilities and licenses in your software components. The results of this scan are then displayed across the JFrog Platform.

Sometimes, the Xray scan on some artifacts will fail, and you can find the following INFO level error message in the xray-server-service.log:
[INFO ] Only 500 of the files matching sha256: xxxxxx would be examined