Integrate Cortex Cloud Application Security CI/CD Security with your Jenkins servers to enable automated and continuous scanning of your CI/CD pipelines. This integration provides proactive security checks, triggered by pipeline events or configuration changes, ensuring security issues are detected and remediated throughout the entire deployment lifecycle.
Pipeline scans are executed using the Cortex CLI, and include automated actions based on scan results to enforce security policies and prevent vulnerable deployments.
Note
Jenkins onboarding offers both code and CI/CD scanning. A single integrated instance supports either code or CI scanning, but not both. If you require both code and CI scanning for your Jenkins servers, you must create two separate integrations, selecting the appropriate scanning type for each. To onboard Jenkins for code scans, refer to Jenkins for code scans.
Danger
Prerequisite
In Jenkins:
To install and configure the Cortex plugin in Jenkins, you must be a Jenkins Administrator with Overall/Administer permissions
Ensure the build server allows outbound HTTPS (
Port 443traffic to the Cortex API URL
Onboarding steps
On the Cortex Cloud console:
Search for and hover over Jenkins and click Add, or Add Another Instance if an instance is already onboarded.
→ .
On the Create Instance step of the integration wizard: → .
On the Plugin installation step of the wizard:
Click to download the Cortex Cloud Application Security Jenkins
Cortex.Cloud.hpiplugin file.Copy and save the generated JWT token.
Click .
Note
The integration is added on the console but integration is pending, and will only be completed after completing step 5 below. You can view the pending integration on the Jenkins Instances page: Select → → . The type of integration is Pipeline Risks
Install and configure the Cortex Cloud plugin on your Jenkins server:
Open Jenkins and select: → → .
Select → → → .
Configure the plugin:
→ → → .
Fill in the provided fields:
Cortex JWT Token: Paste the JWT token copied in step 4b above.
Cortex Reports Recurrence Period (Value: minutes): The frequency with which reports are generated. We recommend that you do not change the default value
Click .
The Cortex Cloud Application Security plugin is integrated with your Jenkins system.
Verify integration and confirm that the your integrated Jenkins instance has a status of Connected.
On the Data Sources & Integrations page, search for Jenkins.
Hover over and select the resulting entry.
Locate and verify that the status of your instance is Connected.
Next step: View scan results and mitigate issues.
Note
Always refer to the official Jenkins documentation when installing plugins on Jenkins servers.
Manage data source integrations
Manage integrations to align with evolving requirements and ensure they remain current.
Navigate to → and use the Vendor filter to located the required integration.
Select your vendor from the list.
The integrated instances for the selected vendor are displayed.
Right-click on an instance and select an option:
: Redirects to the Select Repositories step of the integration wizard, where you can modify configurations for the selected instance. For more details, refer to the relevant integration guide
: When confirmed, deletes the instance, including data from previous scans
Copy entire row – Copies all column values for the selected row to the clipboard.