Skip to main content
availability

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

Contrast SCA integration

Contrast Security's SCA module identifies vulnerable open-source libraries in running applications using an instrumentation-based agent approach. The Invicti AppSec integration connects to your Contrast Security server via API and retrieves library vulnerability data for specified applications.

Prerequisites

FieldDescription
API KeyThe organization-level API key from Contrast Security
TokenYour Contrast Security user authorization token (Service Key)
OrganizationYour Contrast Security organization UUID
Contrast Security URLThe base URL of your Contrast Security instance (e.g., https://app.contrastsecurity.com)

Get Credentials (on Contrast Security Side)

Token (Service Key):

  1. Log in to Contrast Security and click your profile icon in the upper right corner.
  2. Select User Settings.
  3. Under Your Keys, find and copy the Service Key (this is your Token).

API Key:

  1. In Contrast Security, navigate to Organization Settings > API.
  2. Copy the API Key shown on this page.

Organization:

  1. In Contrast Security, navigate to Organization Settings > General.
  2. Copy the Organization ID (UUID format).
note

All three values are required. The Token (Service Key) and API Key are used together to authenticate API requests.

Step 1: Navigate to Integrations

From the left sidebar menu, click on Integrations.

Integrations sidebar

Step 2: Select the SCA Tab

On the Integrations > Scanners page, click on the SCA tab.

SCA tab

Step 3: Find and Activate Contrast SCA

Scroll through the list of SCA scanners to find Contrast SCA.

  • If Contrast SCA is not activated, click the Activate button to enable the integration.
note

The scan method badges on the Contrast SCA card include Bind and KDT.

Step 4: Configure Connection Settings

Click the gear icon on the Contrast SCA card to open the settings panel. Fill in the required fields:

FieldDescriptionRequired
API KeyThe organization-level API key from Contrast SecurityYes
TokenYour Contrast Service Key (user authorization token)Yes
OrganizationYour Contrast organization UUIDYes
URLYour Contrast Security server URLYes
InsecureEnable only if your instance uses a self-signed SSL certificateNo
Contrast SCA settings

Step 5: Test the Connection

Click Test Connection. A green Connection successful message confirms that Invicti AppSec can connect to your Contrast Security instance.

Summary

StepAction
1Navigate to Integrations from the sidebar
2Select the SCA tab
3Activate Contrast SCA
4Enter API Key, Token, Organization, and URL
5Test the connection

Create a Scan

  1. Open a project in Invicti AppSec.
  2. Go to Settings > Scanners.
  3. Click Add Scanner.

Add Contrast SCA Scanner

  1. Select SCA as the scanner type.
  2. Choose Contrast SCA from the scanner list.
  3. Click Add to open the scan configuration drawer.

Scan Configuration Fields

FieldDescriptionRequired
EnvironmentSelect the environment for the scanNo
ProjectSelect the Contrast Security application to scan (loaded from your organization)Yes
BranchSource code branch associated with this scanYes
Meta DataAdditional metadata for the scanNo
Scan TagTag to identify the scanNo
note

The Project list is populated from Contrast Security. Only applications monitored by the Contrast agent and associated with your organization will appear.

Contrast SCA scan creation

Scheduler

Enable the Scheduler toggle to run Contrast SCA scans on a recurring schedule.

Webhook (Optional)

Add a webhook URL to receive scan completion notifications.

KDT Command

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

Troubleshooting

Connection Fails

IssueResolution
403 ForbiddenVerify that both the Authorization token (Service Key) and the API Key are correct.
Organization not foundCheck that the Organization ID matches exactly the UUID in Contrast Organization Settings.
URL not reachableConfirm the Contrast server URL is accessible from the Invicti AppSec network. Check firewall rules.
SSL certificate errorEnable the Insecure option for self-signed certificates or add the certificate to your trust store.

Scan Issues

IssueResolution
No applications listedEnsure the Contrast agent is deployed and reporting to the server under the configured organization.
Empty resultsThe application may have no vulnerable libraries detected, or the Contrast agent may not be actively monitoring it.
Application not foundConfirm the Application ID exists and is accessible with the configured organization credentials.
Scan takes too longFor large applications with many libraries, the API may take several minutes to paginate through all results.

Best Practices

  • Use a dedicated Contrast service account to avoid disruptions when team members leave or change roles.
  • Ensure the Contrast agent is running and actively monitoring the target application before triggering a scan.
  • Keep the API Key and Authorization token confidential and rotate them periodically.
  • Use the Organization Settings in Contrast to verify which applications are monitored before configuring scans.
  • For on-premises Contrast installations, ensure the Invicti AppSec agent can reach the Contrast server on the required ports.

Limitations

  • Contrast SCA retrieves library vulnerabilities only for applications instrumented with the Contrast agent; uninstrumented applications will show no results.
  • The integration retrieves all vulnerable libraries reported by Contrast — filtering by severity must be configured within Contrast Security policies.
  • Contrast SCA does not support triggering new agent scans from Invicti AppSec; it only reads existing vulnerability data collected by the running agent.
  • License compliance findings from Contrast are not currently imported into Invicti AppSec.

Need help?

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

Was this page useful?