As previously mentioned, when existing builds are indexed in Indexed Resources, only future build versions will be scanned, not existing build versions. The following example shows Xray status as "Not Scanned" for pre-existing build versions.
To explicitly request a scan for a pre-existing build version, you can use the JFrog CLI command or Rest API.
For example, to scan an existing build version of "test-build" using JFrog CLI, you could use the following command:
jf bs test-build 3In the UI, the Xray status will change to "Pending Scan," as shown below:
Once the build version has been scanned, you can view the details of the Xray scan by selecting the build ID.