Contrast Security
Contrast Security is an application security platform whose TeamServer API exposes your organization's application inventory, servers, users, and vulnerability/trace (IAST and SCA) findings. Nexla connects to the TeamServer API to ingest this security data as a source and to push vulnerability status updates back into Contrast as a destination. Use it to feed application security posture into your data pipelines, warehouses, and reporting workflows.
Power end-to-end data operations for your Contrast Security API with Nexla. Our bi-directional Contrast Security connector is purpose-built for Contrast Security, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Contrast Security or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Contrast Security workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
Before creating a Contrast Security credential, you need the base URL of your TeamServer instance, your organization UUID, and three per-account keys: your username, service key, and API key. The TeamServer API authenticates each request with a Basic Authorization header built from a Base64-encoded username:service-key pair, plus a plaintext API-Key header.
To obtain your Contrast Security credentials, follow these steps:
-
Sign in to your Contrast TeamServer account. For Contrast SaaS this is typically
https://app.contrastsecurity.com; for an on-premises or evaluation deployment, use your organization's own TeamServer host. -
Open the user menu in the top-right corner and go to User settings > Profile (also labeled Your Account).
-
In the Your keys section, locate the following values:
- API Key — the organization-level API key, shared across all users in the organization. This is sent as the plaintext
API-Keyheader. - Service Key — a per-user key unique to your account. Together with your username it forms the Base64-encoded Basic
Authorizationheader. - Organization ID (UUID) — the identifier of the organization you are accessing.
- API Key — the organization-level API key, shared across all users in the organization. This is sent as the plaintext
-
Note your Username, which is usually the email address you use to sign in to TeamServer. It is combined with the service key to build the Basic
Authorizationheader. -
Determine your TeamServer Base URL — the root URL of your Contrast instance without any API path appended.
-
Store these values securely. The service key and API key are sensitive; if either is compromised, rotate it from Your keys in your Contrast profile (note that rotating the service key affects any integrations that use it).
For details on locating and managing these values, see the Contrast Security API keys documentation and the TeamServer API reference.
Authenticate
Credentials required
| Field | Required | Secret | Description |
|---|---|---|---|
| TeamServer Base URL | Yes | No | The base URL of your Contrast TeamServer instance, e.g. https://app.contrastsecurity.com (SaaS) or your on-prem/eval host. |
| Organization UUID | Yes | No | Your Contrast organization UUID, found in Organization Settings. |
| Username | Yes | No | TeamServer account username (usually your login email), used to build the Basic Authorization header. |
| Service Key | Yes | Yes | Per-user service key from Organization Settings > Your Keys, used to build the Basic Authorization header. |
| API Key | Yes | Yes | Plaintext organization API key from Organization Settings > Your Keys. Sent as the 'API-Key' header on every request. |
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your TeamServer Base URL and Organization UUID in their respective fields. These identify the Contrast instance and organization that Nexla will connect to.
-
Enter your Username, Service Key, and API Key in their respective fields. Nexla combines the username and service key into a Base64-encoded Basic
Authorizationheader and sends the API key as the plaintextAPI-Keyheader on every request.The service key and API key are sensitive. If either is compromised, rotate it from Your keys in your Contrast profile and update this credential with the new value. Rotating the service key affects any integrations that use it.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Contrast Security connector tile, then select the credential that will be used to connect to the Contrast instance, and click Next; or, create a new Contrast Security credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Contrast Security endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Contrast Security data sources can also be manually configured to ingest data from any valid TeamServer API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Contrast Security data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the Contrast Security destination, and select the Send to Destination option from the menu. Select the Contrast Security connector from the list of available destination connectors, then select the credential that will be used to connect to the Contrast organization, and click Next; or, create a new Contrast Security credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Contrast Security endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
Contrast Security destinations can also be manually configured to send data to any valid TeamServer API endpoint. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured Contrast Security endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to the Contrast Security endpoint until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.