Overview
The JFrog Artifactory integration allows Backline to connect to container images stored in your JFrog Artifactory Docker repositories. This integration supports both JFrog Cloud and self-hosted Artifactory instances.What You Can Do
With the JFrog Artifactory integration, Backline can:- Import Docker images from Artifactory repositories
- Collect image metadata and tags
- Track images across repositories
- Monitor your container inventory
Prerequisites
Before connecting JFrog Artifactory, ensure you have:- A JFrog Artifactory instance (Cloud or Self-hosted)
- A JFrog user account with read access to Docker repositories
- An Access Token (or password) for authentication
- The repository key(s) for your Docker repositories
Required Permissions
Your JFrog user needs the following permissions:- READ permission on Docker repositories (for local/virtual repositories)
- READ + DEPLOY/CACHE permission (only if using remote/proxy repositories)
Authentication Options
Backline supports two authentication methods for JFrog Artifactory:Option 1: Access Token (Recommended)
Go to User Profile
Click on your username in the top-right corner and select Edit Profile or navigate to Administration > Identity and Access > Users.
Generate Access Token
Go to the Access Tokens section and click Generate Token.Configure the token:
- Token Name:
backline-integration(or any descriptive name) - Expiration: Choose an appropriate expiration or set to non-expiring for long-term use
- Scope: Ensure the token has read access to your Docker repositories
Option 2: Password
For self-hosted Artifactory instances, you can also use your JFrog account password instead of an access token. Simply enter your password in the “Access Token” field when configuring the integration.Access tokens are recommended over passwords because they can be scoped to specific permissions and revoked independently without changing your account password.
Finding Your Repository Key
The repository key is the name of your Docker repository in Artifactory. To find it:Identify Docker Repositories
Look for repositories of type Docker. The repository key is shown in the Repository Key column.Examples of repository keys:
docker-localdocker-prodmy-docker-images
The repository key is different from the image name. For example, in the image URL
mycompany.jfrog.io/docker-local/my-app:latest, the repository key is docker-local.Connecting JFrog Artifactory
Enter Artifactory URL
Provide your Artifactory server URL:
- JFrog Cloud:
https://yourcompany.jfrog.io - Self-hosted: Any URL where your Artifactory is accessible, for example:
https://artifactory.yourcompany.comhttp://artifactory.internal:8082http://localhost:8082(for local testing)
Enter Repository Keys
Enter one or more Docker repository keys.
- For a single repository:
docker-local - For multiple repositories:
docker-local, docker-prod, docker-dev
Test Connection
Click Test Connection to verify:
- Credentials are valid
- All specified repositories are accessible
After Connection
Once JFrog Artifactory is connected, Backline will:- Validate access to all configured repositories
- Discover and import container images
- Display images in your Backline inventory
Image Discovery
Backline collects:- All tagged images in connected Docker repositories
- Image metadata and tags
- Repository information
Initial image discovery may take time depending on the number of images. Backline performs incremental updates for efficiency.
URL and Image Format
JFrog Cloud
Self-Hosted
Managing the Integration
Updating Configuration
To update the integration settings:- Open the Integration Hub
- Click on the JFrog Artifactory integration
- Update the URL, credentials, or repository keys as needed
- Click Test Connection to verify changes
- Click Save
Adding More Repositories
To add additional Docker repositories:- Open the JFrog Artifactory integration settings
- Add new repository keys to the existing list (comma or semicolon separated)
- Test the connection to verify access to all repositories
- Save the changes
Disconnecting
To remove the JFrog Artifactory integration:- Go to the Integration Hub
- Click on the JFrog Artifactory integration
- Select Disconnect
- Confirm your decision
Troubleshooting
Authentication Failed
If you see “authentication failed: invalid credentials or insufficient permissions”:- Verify the username matches the account that owns the access token
- Check that the access token hasn’t expired
- Ensure the user has READ permission on the specified repositories
Repository Not Found
If you see “repository access failed for: [repository-key]”:- Verify the repository key is spelled correctly
- Check that the repository exists in your Artifactory instance
- Ensure the repository is of type Docker
Connection Timeout
If the connection times out:- For self-hosted instances, verify the URL is reachable from the internet
- Check firewall rules allow incoming connections
- Verify the Artifactory service is running
Self-Hosted SSL Issues
If you experience SSL certificate errors with self-hosted instances:- Ensure your SSL certificate is valid and not expired
- For internal CAs, you may need to use HTTP (not recommended for production)