Overview
The Azure ACR (Azure Container Registry) integration enables Backline to scan your container images hosted in Azure for security vulnerabilities. Backline uses a service principal with AcrPull permissions to access and scan your container registries.What You Can Do
With the ACR integration, Backline can:- Scan container images in your Azure registries
- Analyze image layers for vulnerabilities
- Detect security issues in dependencies
- Track image security across versions
- Monitor compliance with security policies
Prerequisites
Before connecting ACR, ensure you have:- Azure CLI installed and logged in (
az login) - An Azure account with ACR registries
- Permissions to create service principals and assign roles
- Access to the resource groups containing your ACRs
Connecting ACR
Backline provides automated scripts to simplify the ACR integration setup process.Run the Installation Script
Use the automated script to create a service principal and grant AcrPull permissions to your ACRs.See the ACR Integration Scripts README for detailed instructions and options.Quick example:
Copy Your Tenant ID
After running the script, it will output your Tenant ID and Backline App ID. Save the Tenant ID - you’ll need it for the Backline UI.
Setup Scripts
The integration uses two main scripts:install_acr_integration.sh- Creates service principal and grants AcrPull accesscleanup_acr_integration.sh- Removes access or deletes the service principal
What the Setup Script Does
The installation script automatically:- Creates a service principal for Backline AI (App ID:
3fc75f55-e53f-4950-9127-665106cded58) - Assigns the
AcrPullrole to specified container registries - Outputs your Tenant ID (required for Backline UI configuration)
After Connection
Once ACR is connected, Backline will:- List all registries and repositories
- Begin scanning tagged images
- Analyze vulnerabilities in image layers
- Provide remediation guidance
Image Scanning
Backline examines:- All images in connected registries
- Base image vulnerabilities
- Application dependencies within containers
- Configuration weaknesses
Initial scans may take time depending on image size and quantity. Backline performs incremental scans for efficiency.
Managing the Integration
Adding More ACRs
To add additional ACRs to the integration, simply run the installation script again with the new ACRs:Removing ACR Access
To remove Backline access from specific ACRs or remove the integration entirely, use thecleanup_acr_integration.sh script:
Remove specific ACR: