Skip to main content
availability

Package: Invicti AppSec Enterprise (on-premise, on-demand)

Polaris fAST Static

Invicti AppSec supports Polaris fAST Static (formerly Black Duck fAST) as a SAST (Static Application Security Testing) scanner. This guide explains how to activate and configure the Polaris fAST Static integration.

Polaris fAST Static is a fast, cloud-native static application security testing solution by Synopsys (now Black Duck). It provides rapid SAST scanning with low false-positive rates.

Prerequisites

Before starting the integration, ensure you have the following information from your Polaris account:

FieldDescriptionRequired
TokenAPI access token generated from your Polaris accountYes
URLYour Polaris instance URL (e.g., https://<your-org>.polaris.blackduck.com)Yes

Get a token (on Polaris Side)

  1. Log in to your Polaris instance.
  2. Go to your profile by clicking on your username (upper left-hand corner).
  3. Click Access Tokens.
  4. Click Create New Token.
  5. Enter a token name and save.
  6. Copy the generated token immediately (it won't be shown again).

Step 1: Navigate to Integrations

From the left sidebar menu, click Integrations.

Step 2: Select the SAST Tab

On the Integrations page, you will see the Scanners section with multiple tabs. Click the SAST tab (it is selected by default).

  Select the SAST Tab   Select the SAST Tab

Step 3: Find and Activate Polaris fAST Static

Scroll through the list of SAST scanners to find Polaris fAST Static.

  • If Polaris fAST Static is not activated, you will see an "Activate" button. Click it to enable the integration.
  • If Polaris fAST Static is already activated, you will see a toggle switch in the ON position and a "Deactivate" button, along with a gear icon for configuration.
info

The scan method badge on the Polaris fAST Static card shows KDT, which means scans are triggered through the Kondukto CLI tool (KDT).

Step 4: Configure Connection Settings

Click the gear icon on the Polaris fAST Static card to open the configuration panel. Fill in the required fields:

  1. Token: Paste the API access token you generated from Polaris.
  2. URL: Enter your Polaris instance URL (e.g., https://<your-org>.polaris.blackduck.com).

  Integration setup

Step 5: Test the Connection

Click the Test Connection button at the bottom of the configuration panel to verify that the provided credentials and URL are correct.

  • If the connection is successful, the integration is ready to use.
  • If the connection fails, verify your Token and URL values.
  • For existing integrations, you can use the Retest Connection button at the top of the panel.

Step 6: Advanced Settings (Optional)

Click on Advanced Settings to expand additional options:

SettingDescriptionDefault
Allow team leads to scan this instancePermits team leads to trigger scans using this Polaris fAST Static instanceOff
Allow team leads to create new instancesPermits team leads to create additional Polaris fAST Static instancesOff

After modifying advanced settings, click Save Advanced Settings to apply changes.

Summary

StepAction
1Navigate to Integrations from the sidebar
2Select the SAST tab under Scanners
3Find Polaris fAST Static and click Activate (if not already active)
4Click the gear icon and fill in Token, URL, and optionally Instance
5Click Test Connection to verify
6(Optional) Configure Advanced Settings for team lead permissions

Create a Scan

After activating and configuring Polaris fAST Static, you can create scans from your project's scanner settings.

  1. Go to your Project page.
  2. Click on the Settings tab.
  3. Select Scanners from the left sidebar.

Add Polaris fAST Static Scanner

  1. In the scanner type dropdown, select SAST.
  2. In the scanner dropdown, search for and select Polaris fAST Static.
  3. Click the Add button to open the scan configuration drawer.

  Polaris fAST Static scan creation

Scan Configuration Fields

FieldDescriptionRequired
ApplicationSelect the Polaris application portfolioYes
ProjectSelect the Polaris project to bind toYes
Polaris fAST Static BranchSelect the Polaris branch for the scanNo
BranchSpecify the branch to scanNo
Meta DataAdditional metadata for the scan (optional)No
Scan TagTag to identify the scan (optional)No
Fork Default BranchEnable to fork the default branch before scanningNo

Scheduler

  • Now: Run the scan immediately after saving.
  • Custom Date: Schedule the scan for a specific date and time.

Webhook (Optional)

Enable webhook to trigger scans via actions taken on your application lifecycle management tool:

  1. Check the Trigger scans via actions checkbox.
  2. Select the Platform (e.g., GitHub, GitLab, Bitbucket).
  3. Click Generate to create a Secret Key for webhook authentication.

KDT Command

You can also trigger Polaris fAST Static scans from your CI/CD pipeline using KDT:

kdt scan -p <project_name> -t fast -b <branch_name>

Click Save to create the scan configuration.

Troubleshooting

Connection Fails

  • Invalid Token: Ensure the Polaris access token is correct and has not expired. Generate a new token from the Polaris portal.
  • Incorrect URL: Verify the URL matches your Polaris instance (e.g., https://<your-org>.polaris.blackduck.com).
  • Network/Firewall: Ensure the Invicti AppSec instance can reach the Polaris API endpoint.

Scan Issues

  • No Applications Found: Verify the token has sufficient permissions to list applications in Polaris.
  • No Projects Found: Ensure the application has projects configured in Polaris.
  • Branch Not Found: Verify the specified branch has been analyzed in Polaris fAST Static.
  • Empty Results: Confirm that the fAST Static analysis has completed successfully on the Polaris side.

Best Practices

  • Use Dedicated Access Tokens: Create a dedicated Polaris access token for the Invicti AppSec integration.
  • Rotate Tokens Regularly: Regenerate access tokens periodically as part of your security practices.
  • Application Binding: Ensure the correct Polaris application and project are selected for accurate result mapping.
  • Use HTTPS: Always use HTTPS for the Polaris URL.

Limitations

  • Cloud-Based: Polaris fAST Static is a cloud-native service. An active Polaris subscription is required.
  • Token Expiration: Polaris access tokens may have expiration policies. Check your organization's token management settings.
  • Application/Project Binding: Each scan configuration is bound to a specific Polaris application and project.

Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?