Currently there are two methods to initiate an XRay scan:
- Select the repository to scan, and any new published artifact will be automatically scanned
- Choose the option to scan all history
There is a lot of history we really do not care to scan; our preference is to scan all latest versions only, and then let new artifacts get scanned automatically. Either have an option to do this, or give the ability via an api to specify the specific artifact to be scanned (that has never yet been scanned) - I could run an AQL to get a list of the latest versions, then use that list to feed some XRay process to scan only those in the list. Or something like that.