Use Outpost to run accessibility scans that integrate with the platform. Outpost enables scanning from your environment while reporting results back to the platform.
On this page:
- Prerequisites
- Enable Outpost in the platform
- Retrieve Outpost credentials
- Log in to the Docker registry
- Pull the Outpost image
- Install Outpost from source code
- Manage the Outpost Docker services
- Run scans using Outpost
Prerequisites
Before installing Outpost, ensure the following requirements are met.
Platform configuration
- Your digital asset must have the Run scans with Outpost option enabled.
Environment requirements
- Docker must be installed on the machine where you will run Outpost.
- You must have access to Bitbucket in order to clone the Outpost repository.
- A Cloudsmith NPM token to download the Access Engine during installation.
- Outpost currently supports Linux/amd64 environments only.
Enable Outpost in the platform
Before installing Outpost, you must enable it for your tenant and configure a digital asset.
- Navigate to your tenant portal.
- Create a new digital asset dedicated to Outpost scans (Optional).
Creating a dedicated asset prevents Outpost scans from affecting scan and monitoring settings that may already exist on shared assets. - Open the digital asset you want to use.
- Scroll to the bottom of the asset configuration form.
- Enable the Run scans with Outpost option.
- Click Save to apply the changes.
Retrieve Outpost credentials
After enabling Outpost, you must retrieve the credentials required to connect your Outpost installation to the platform.
- Navigate to the organizational level.
- Under Manage, select Tools & Integrations, and then Tools & Extensions.
- Locate Outpost in the available tools.
- Select Installation instructions.
- Download the following files:
- YAML file – Contains your tenant-specific credentials.
- docker-compose.yml – Contains the Docker Compose configuration required to run Outpost.
- Store both files securely
Open the downloaded YAML file in a text editor.
The file contains two credentials:
saEncryptionKey
apiKeyExample:
saEncryptionKey: abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789
apiKey: abcd1234-ab12-cd34-ef56-abcdef123456These credentials apply to your entire tenant and are required for the installation process.
Log in to the Docker registry
Authenticate with the Level Access Docker registry before downloading the Outpost image.
docker login docker.levelaccess.net -u docker-client -p <docker-registry-token>Please note: Do not share your Docker registry token or commit it to source control.
Pull the Outpost image
Download the latest Outpost image.
docker pull docker.levelaccess.net/docker-client/scanning-agent:latestInstall Outpost from source code
You can install Outpost using Docker after cloning the repository.
Clone the repository
-
Clone the repository from Bitbucket:
http://bitbucket.org/levelaccess/scanning-agent - Open a terminal in the cloned directory.
Configure environment variables
Before running Outpost, configure the required environment variables.
Replace the example values with your tenant information, encryption key, API key, and Level Access NPM token.
export PLATFORM_URL="https://your-platform-url"
export ENCRYPTION_KEY="your-encryption-key"
export API_KEY="your-api-key"
export LEVEL_ACCESS_NPM_TOKEN="your-npm-token"| Variable | Description |
|---|---|
| PLATFORM_URL | Your Level Access Platform tenant URL |
| ENCRYPTION_KEY | Encryption key from the YAML file |
| API_KEY | API key from the YAML file |
| LEVEL_ACCESS_NPM_TOKEN | Token used to download Access Engine during installation |
The NPM token is only required during the initial setup process.
Start Outpost with Docker
Run the following command to start the Outpost services:
docker compose -f docker-compose.deps.yml -f docker-compose.yml up -dThe first run may take longer because Docker downloads the required images and builds the Outpost image.
Manage the Outpost Docker services
You can use the following commands to monitor and manage the installation.
View Outpost logs
Monitor scanning progress:
docker compose logs -fView logs for all Docker services
Use this command to troubleshoot dependencies:
docker compose -f docker-compose.deps.yml -f docker-compose.yml logs -fRestart services
docker compose -f docker-compose.deps.yml -f docker-compose.yml restartStop services
docker compose -f docker-compose.deps.yml -f docker-compose.yml downRun scans using Outpost
After Outpost is installed and running, you can run scans from the platform.
Verify the Outpost connection
- Open the configured digital asset.
- Locate the Last heartbeat message.
The heartbeat indicates the last time Outpost successfully communicated with the platform.
If the platform indicates that Outpost may be down, verify your installation and ensure the Docker services are running.
Start a scan
To run a scan:
- Open the configured digital asset.
- Select Run scans.
- Choose either:
- Quick scan
- Advanced scan
Outpost detects the scan request and begins processing it.
Monitor scan execution
You can monitor the scan progress through the Outpost service logs.
Look for log messages such as:
- Scan results ready
- Scan results processed
These messages indicate that the scan completed successfully and the results were sent to the platform.
Review scan results
After the scan completes, you can review the results directly in the Level Access Platform within the digital asset.
Secure your credentials
- Do not share your Docker registry token.
- Do not commit credentials to source control.
- Store the downloaded YAML file securely.
- Treat the API key and encryption key as tenant-level secrets.
Comments
0 comments
Article is closed for comments.