You can use Polaris Secure Tunnel, a feature of the Black Duck Bridge, to securely access internal web applications and APIs for the purpose of running DAST tests with Polaris fAST Dynamic. Tests can be started from the Web UI, API, or Bridge CLI.
Bridge CLI versions
Using Polaris Secure Tunnel requires that you download and install the Bridge CLI. Secure tunnel support differs by Bridge CLI version.
Secure Tunnel functionality was introduced in Bridge CLI version 3.1.0. With this version, secure tunnels are project specific: You need to specify the application and DAST project name when creating a secure tunnel in the Bridge CLI workflow. DAST tests must then be started in either the Polaris Web UI or via the API.
With Bridge CLI version 3.7.0 and later, a secure tunnel is started automatically if you start a DAST test directly from the Bridge CLI, using the polaris.assessment.types="DAST" argument.
Bridge CLI version 4.3.0 and later supports shared, tenant-wide secure tunnels that you can reuse across different internal DAST projects. You can create a shared secure tunnel in My Organization > Secure Tunnels and then link it with a DAST project in the Polaris Web UI. In the Bridge CLI workflow, you specify the tunnel name only and Secure Tunnel determines which DAST project to open a secure connection to. The previous project-specific workflow is still supported.
With all Bridge CLI versions, Secure Tunnel functionality works on Mac and Linux only. For a full list of prerequisites, see the Polaris Secure Tunnel section of the Bridge CLI documentation.
This documentation describes both the project-specific and tenant-wide methods of creating a secure tunnel. See the Bridge CLI documentation for more information, the complete list of commands, and additional uses for secure tunnels.
About Secure Tunnel
With Polaris Secure Tunnel, you can establish a tenant-wide secure TLS connection (port 443) directly to a target web application or API in your private network, without the need to open any ports or allow list Polaris IP ranges.
Secure Tunnel uses the Teleport Access Platform for secure and self-service connectivity to private applications. Teleport functionality is integrated with the Bridge CLI (version 3.1.0 and later) and requires no account setup or additional installation. Secure tunnels can be managed in the Polaris UI or the Bridge CLI.
Prerequisites
Before you begin, make sure that you have:
- Created an access token or service account token. See Make an access token and Service Accounts for Polaris for more information.
- Created a DAST project configured as internal (select the Entry Point URL is in a private network option). See Create DAST projects for web applications and APIs.
- Downloaded and installed the Bridge CLI. See Download the Bridge CLI.
- Reviewed the Secure Tunnel system requirements. See Using Polaris secure tunnel.
Create a secure tunnel to a specific internal DAST project
Use the Bridge CLI to open a secure tunnel between Polaris and an internal target in your private network. You can skip this task if you plan to run DAST tests on the target directly from Bridge; see DAST configuration requirements for details. Note that Bridge does not create DAST projects in Polaris.
Create a tenant-wide secure tunnel in Polaris and start DAST tests
Test a DAST project
Follow these steps to run a DAST test from the Polaris user interface: