Using JFrog CLI with Xray allows users to scan artifacts prior to deploying to your JFrog Platform and allows users to test and discover what would be the Xray scan results according to different parameters on which we will elaborate below.
In order to utilize the On-Demand Binary scan we will utilize JFrog CLI’s “jfrog xr s” command.
It is important to emphasize that the “jfrog xr s” command only scans local files and will not scan files that were already deployed to your JFrog Platform.