Starting from Xray version 3.66.x and above, you can scan for Exposures on an existing artifact. Do the following:
From the Scans List page, Repositories tab, select the repository.
Navigate to the artifact you want to scan.
Click the Actions Menu next to the artifact, and select Scan for Exposures.
The results appear under Security Issues.