Cortex connects to many third-party vendors whose system interfaces frequently change. As a result, integration behavior or configuration steps may shift without notice. If you encounter unexpected issues, check with your system administrator or refer to the vendor’s documentation for the most current information. Additionally, integration sync times vary and are subject to scheduling overrides and timing variance.
- View Veracode findings on entity pages in Cortex
- Create Scorecards that track progress and drive alignment on Veracode vulnerability metrics
How to configure Veracode with Cortex
Prerequisite
Before getting started:- Create an API ID in Veracode.
- If using XML, configure the ID with the following permissions:
get Detailed reportget Build listget sandbox listget application list
- If using REST, configure the ID with the following permissions:
get applicationget findings
- If using XML, configure the ID with the following permissions:
- Create a secret key in Veracode with the following roles:
- Creator or Security Lead
- Reviewer or Security Lead
- Results API
Configure the integration in Cortex
- In Cortex, navigate to the Veracode settings page:
- Click Integrations from the main nav. Search for and select Veracode.
- Click Add configuration.
- Configure the Veracode integration form:
- Key ID: Enter your Veracode API ID.
- Secret key: Enter the secret key associated with your API ID.
- Region: Enter your Veracode instance region.
- Click Save.
Advanced configuration
If you’re unable to expose your Veracode instance to be reachable by Cortex, you can set up a custom integration webhook.How to connect Cortex entities to Veracode
Editing the entity descriptor
The YAML examples on this page show only the
x-cortex-* block. When you add one to an entity descriptor, nest it inside the info section. Blocks at the root level of the file are ignored without an error. For a full example, see Defining entities with YAML.x-cortex-static-analysis section of the entity descriptor. For example:
Using the Veracode integration
View Veracode data on entity pages
On an entity details page overview, Veracode findings will appear the Code and Security block. When viewing an entity, click Code & security > Veracode to see the DAST findings count, SAST findings count, SCA findings count, and a list of findings that can be filtered by severity and source. The data syncs automatically every hour, or you can click Sync findings in the upper right side of the entity’s Veracode page to trigger a sync.Scorecards and CQL
With the Veracode integration, you can create Scorecard rules and write CQL queries based on Veracode findings. See more examples in the CQL Explorer in Cortex.Check if Veracode application is set
Check if Veracode application is set
Check if entity has Veracode application or sandbox specified in its entity descriptor.Definition:
veracode (==/!= null): BooleanExampleIn a Scorecard, you can write a rule to verify that an entity has a Veracode application or sandbox specified:Findings
Findings
List of findings, filterable on risk, source, and status.Definition: You can write a rule to verify that an entity has fewer than 3 findings with a risk level of 0 or 2:You can write a rule to verify that an entity has fewer than 5 findings with a status of “OPEN”:
veracode.findings(): ListExampleIn a Scorecard, you can write a rule to verify that an entity has fewer than 10 Veracode findings from two of the sources:View integration logs
This feature is available in Cortex cloud.

Background sync
Cortex conducts an entity sync for Veracode every hour.Still need help?
The following options are available to get assistance from the Cortex Customer Engineering team:- Email: help@cortex.io, or open a support ticket in the in app Resource Center
- Slack: Users with a connected Slack channel will have a workflow added to their account. From here, you can either @CortexTechnicalSupport or add a
:ticket:reaction to a question in Slack, and the team will respond directly.