Follow the steps below to add a JFrog Artifactory Private registry in order to scan JFrog Artifactory repositories. The sensor will use the Artifactory Native API with AQL (Artifactory Query Language) for the listing phase of the registry scan to collect image metadata information for the repository provided in the registry scan schedule.
Complete these steps:
1) Download the Registry sensor (Sensor version 1.11 or later). Go to Configurations > Sensors > Download Sensor and pick Registry. Select the environment where you want to deploy the sensor and follow the installation instructions on the screen. Ensure the registry sensor is in Running state and continue to the next step.
2) Add your registry and set up a scanning schedule. Go to Assets > Registries > New Registry. Choose registry type JFrog Artifactory Private. Provide the following information:
URL - Enter the registry URL.
Access Method - Choose Path (for direct access to Docker registries) or Sub Domain (for access to Docker registries through a reverse proxy).
Service Context - Enter the service context value configured as part of the Base URL for reverse proxy configuration.
3) After adding registry information, click Next to enter scan settings. Like with other registry types, you can choose to scan immediately (On Demand) or on an on-going basis (Automatic). For help with scan settings, see Configure Scan Settings.