Add code repositories via Jenkins pipeline
Sophos provides a script which you can add to Jenkins to give Sophos Cloud Optix access to your repositories.
Note You can also use the Cloud Optix REST API as part of your development processes and Continuous
Integration and Continuous Delivery (CI/CD) pipelines. See Getting Started With Cloud Optix REST
API.
- Click Settings (in the left-hand menu) and select Environments.
- Click Add New Environment.
- On the Add your Cloud Provider environment page, select the IaC Environment tab.
- Copy the script shown under Script for Jenkins Integrations and add it to your build pipeline at the stage that best suits you.